diff --git a/src/components/AIQuiz/AIQuizStripe.tsx b/src/components/AIQuiz/AIQuizStripe.tsx index 6494f6c2f..1ddcf26f5 100644 --- a/src/components/AIQuiz/AIQuizStripe.tsx +++ b/src/components/AIQuiz/AIQuizStripe.tsx @@ -15,6 +15,36 @@ type AIQuizStripeProps = { onComplete?: () => void; }; +export function AIQuizStripe(props: AIQuizStripeProps) { + const { activeQuestionIndex, questionStates, onReview, onComplete } = props; + const states = Object.values(questionStates); + + return ( +
+
+
+ {states.map((state, quizIndex) => ( + + ))} +
+ + +
+
+ ); +} + type QuizStateButtonProps = { state: QuestionState; quizIndex: number; @@ -53,33 +83,3 @@ export function QuizStateButton(props: QuizStateButtonProps) { ); } - -export function AIQuizStripe(props: AIQuizStripeProps) { - const { activeQuestionIndex, questionStates, onReview, onComplete } = props; - const states = Object.values(questionStates); - - return ( -
-
-
- {states.map((state, quizIndex) => ( - - ))} -
- - -
-
- ); -}