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