interface SentenceFillTestProps { currentCard: any fillAnswer: string showHint: boolean showResult: boolean onAnswerChange: (answer: string) => void onSubmit: () => void onToggleHint: () => void onReportError: () => void onNavigate: (direction: string) => void currentCardIndex: number totalCards: number setModalImage: (image: string | null) => void } export const SentenceFillTest: React.FC = (props) => { return (

SentenceFillTest 測驗組件

詞卡: {props.currentCard?.word}

props.onAnswerChange(e.target.value)} className="border px-3 py-2 rounded mx-2" placeholder="輸入答案" />
) }