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