REssayForm.tsx 340 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
import React from "react";
import { BasicQuestionType } from "../types";

type Props = {
  question: BasicQuestionType;
};

export const REssayForm = ({ question }: Props) => {
  return (
    <div className="m-5">
      {question.answers.map((answer: any) => (
        <div className="font-bold">{answer}</div>
      ))}
    </div>
  );
};