SurveyForm.tsx 1.03 KB
Newer Older
Lee SeoYeon's avatar
0708    
Lee SeoYeon committed
1
import React, { InputHTMLAttributes } from "react";
Lee SeoYeon's avatar
Lee SeoYeon committed
2
3
4
5
import { ACheckboxForm } from "./ACheckbox";
import { ADropdownForm } from "./ADropdown";
import { AEssayForm } from "./AEssayForm";
import { ARadioForm } from "./ARadioForm";
Lee SeoYeon's avatar
.    
Lee SeoYeon committed
6

Lee SeoYeon's avatar
0708    
Lee SeoYeon committed
7
8
9
10
11
12
13
14
15
16
17
export const SurveyForm = () => {
  return (
    <div className="flex flex-col place-items-center">
      <div className="flex flex-col container place-items-center mt-4">
        <form className="font-bold text-4xl text-center m-2">설문지 제목</form>
        <textarea
          className="font-bold text-1xl text-center m-2 resize-none"
          placeholder="설문조사에 대한 설명을 입력해주세요"
          rows={2}
          cols={60}
        ></textarea>
Lee SeoYeon's avatar
Lee SeoYeon committed
18
19
20
21
22
23
24
25
        <ACheckboxForm></ACheckboxForm>
        <ADropdownForm></ADropdownForm>
        <AEssayForm></AEssayForm>
        <ARadioForm></ARadioForm>
        <div>
          <button className="rounded bg-themeColor my-5 py-2 px-5 font-bold text-white">
            제출하기
          </button>
Lee SeoYeon's avatar
Lee SeoYeon committed
26
        </div>
Lee SeoYeon's avatar
.    
Lee SeoYeon committed
27
28
      </div>
    </div>
Lee SeoYeon's avatar
0708    
Lee SeoYeon committed
29
30
  );
};