import React from "react"; import { IQuestionData } from "../types"; type Props = { question: IQuestionData; answers: any; }; export const RDate = ({ question, answers }: Props) => { return (
{answers.map((answer: any) => (
{answer}
))}
); };