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