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