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