import { Button } from "@/components/ui/button"; import { BaseExercise, type BaseExerciseProps } from "./BaseExercise"; import { cn } from "@/lib/utils"; interface SoundMatchExerciseProps extends BaseExerciseProps { type: 'initial' | 'final'; options: Array<{ word: string; hasMatchingSound: boolean; }>; } export function SoundMatchExercise({ currentWord, onAnswer, type, options, disabled }: SoundMatchExerciseProps) { const instruction = type === 'initial' ? "Qual palavra começa com o mesmo som?" : "Qual palavra termina com o mesmo som?"; return (
{instruction}
{options.map((option) => ( ))}
); }