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