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