analytica-frontend-lib
Version:
Repositório público dos componentes utilizados nas plataformas da Analytica Ensino
20 lines • 944 B
TypeScript
import type { BaseApiClient } from '../../types/api';
export interface SimulationsDetailModalProps {
/** API client used to fetch the student's simulations */
readonly api: BaseApiClient;
readonly isOpen: boolean;
readonly onClose: () => void;
/** The student whose simulations are shown (null closes the modal) */
readonly student: {
userInstitutionId: string;
name: string;
} | null;
}
/**
* Modal that shows a single student's answered simulations as a nested
* accordion (simulation -> question -> options), lazily loading each
* simulation's detail when it is expanded. Reuses the shared StatCard and
* AlternativesList components so the detail matches the activity correction UI.
*/
export declare function SimulationsDetailModal({ api, isOpen, onClose, student, }: SimulationsDetailModalProps): import("react/jsx-runtime").JSX.Element;
//# sourceMappingURL=SimulationsDetailModal.d.ts.map