@upv/react-ui-core
Version:
**USHI Design System — Modern UI Component Library**
13 lines (12 loc) • 347 B
TypeScript
import React from "react";
export interface QuizQuestion {
question: string;
options: string[];
correctAnswerIndex: number;
}
export interface LessonQuizProps {
questions: QuizQuestion[];
onComplete?: (score: number, total: number) => void;
xpAwarded?: number;
}
export declare const LessonQuiz: React.FC<LessonQuizProps>;