import React from "react"; import { CheckboxType } from "./CreateSurveyFormPage"; import { useQuestion } from "./question.context"; import { Edit } from "./Edit"; type Props = { element: CheckboxType; }; export const QCheckbox = ({ element }: Props) => { const { questionListChange } = useQuestion(); return (
{element.content.choices.map((e: any) => (
))}
); };