import { GripVertical, Trash2, Plus, ArrowRight } from "lucide-react"; import { Button } from "../../../../components/ui/button"; import { Card } from "../../../../components/ui/card"; import { Input } from "../../../../components/ui/input"; import { VoicePrompt } from "./VoicePrompt"; interface QuestionsStepProps { formData: any; setFormData: (data: any) => void; nextStep: () => void; prevStep: () => void; } export function QuestionsStep({ formData, setFormData, nextStep, prevStep, }: QuestionsStepProps) { const addQuestion = () => { const newQuestion = { id: `q${formData.questions.length + 1}`, text: "", type: "Speaking", voicePrompt: "upload_audio.mp3", sampleAnswer: "upload_audio.mp3", }; setFormData({ ...formData, questions: [...formData.questions, newQuestion], }); }; return (
Define the dialogue flow and interactions for this scenario.