import React from "react"; import { Question } from "./Question"; interface BasicQuestionType { type: string; name: string; title: string; isRequired: boolean; } interface EssayType extends BasicQuestionType {} let EssayQ: EssayType = { type: "comment", name: "Question1", title: "제목을 입력하세요", isRequired: false, }; interface MultiChoiceType extends BasicQuestionType { hasOther: boolean; choices: any; otherText: string; } export const CreateSurveyForm = () => (