import React from "react"; import { CheckboxType } from "./CreateSurveyFormPage"; type Props = { element: CheckboxType; QuestionListChange: (e: React.ChangeEvent) => void; }; export const QCheckbox = ({ element, QuestionListChange }: Props) => (
{element.content.choices.map((e: string) => (
))}
);