ScheduleForm.js 1.56 KB
Newer Older
Kim, Subin's avatar
Kim, Subin committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
import { useEffect, useRef } from "react";
import BtnGroup from "../Buttons/BtnGroup.js";
import styles from "./form.module.scss";

const ScheduleForm = () => {

    return (
        <form className="my-5">
            <input className="form-control form-control-lg mb-4" type="text" placeholder="제목" aria-label="title" autoFocus />
            <div className="d-flex mb-4">
                <label className="col-3 col-form-label">시작</label>
                <div className="col-5">
                    <input className="form-control" type="date" aria-label="startDate" />
                </div>
                <div className="col-4">
                    <input className="form-control" type="time" aria-label="startTime" />
                </div>
            </div>
            <div className="d-flex mb-3">
                <label className="col-3 col-form-label">종료</label>
                <div className="col-5">
                    <input className="form-control" type="date" aria-label="endDate" />
                </div>
                <div className="col-4">
                    <input className="form-control" type="time" aria-label="endTime" />
                </div>
            </div>
            <div className="d-flex justify-content-end form-check">
                <input className={`form-check-input border-dark shadow-none ${styles.checkBox}`} type="checkbox" value="" id="allDay" />
                <label className="form-check-label" htmlFor="allDay">하루 종일</label>
            </div>
            <BtnGroup />
        </form>
    )
}

export default ScheduleForm