UNPKG

analytica-frontend-lib

Version:

Repositório público dos componentes utilizados nas plataformas da Analytica Ensino

32 lines 1.28 kB
import { type SimulatedStudentRankingProps, type SimulatedRankingCardProps } from './types'; /** * Ranking card component */ export declare function SimulatedRankingCard({ title, variant, students, icon, scoreType, }: SimulatedRankingCardProps): import("react/jsx-runtime").JSX.Element; /** * SimulatedStudentRanking - Student ranking component for simulated exams * * Displays two cards side by side: * - Highlight: Top performing students (with medal icon) * - Attention: Students needing attention (with warning icon) * * Supports both percentage (0-100%) and TRI (0-1000) score display. * * @example * ```tsx * <SimulatedStudentRanking * highlightStudents={[ * { position: 1, name: 'João', average: 85.5 }, * { position: 2, name: 'Maria', average: 82.3 }, * ]} * attentionStudents={[ * { position: 1, name: 'Pedro', average: 45.2 }, * { position: 2, name: 'Ana', average: 48.7 }, * ]} * scoreType="percentage" * /> * ``` */ export declare function SimulatedStudentRanking({ highlightTitle, attentionTitle, highlightStudents, attentionStudents, scoreType, }: SimulatedStudentRankingProps): import("react/jsx-runtime").JSX.Element; export default SimulatedStudentRanking; //# sourceMappingURL=SimulatedStudentRanking.d.ts.map