import React from "react"; import Input from "@/components/Low/Input"; import { WriteBlanksExercise } from "@/interfaces/exam"; interface Props { exercise: WriteBlanksExercise; updateExercise: (data: any) => void; } const WriteBlankEdits = (props: Props) => { const { exercise, updateExercise } = props; return ( <> updateExercise({ prompt: value, }) } /> updateExercise({ text: value, }) } /> updateExercise({ maxWords: Number(value), }) } />