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