REssayForm.tsx 387 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
10
import React from "react";
import { BasicQuestionType } from "../types";

type Props = {
  question: BasicQuestionType;
};

export const REssayForm = ({ question }: Props) => {
  return (
    <div className="m-5">
Yoon, Daeki's avatar
Yoon, Daeki committed
11
12
13
14
      {question.answers.map((answer: any, index: number) => (
        <div key={index} className="font-bold">
          {answer}
        </div>
15
16
17
18
      ))}
    </div>
  );
};