TodoModal.js 1.51 KB
Newer Older
1
2
import styles from "./modal.module.scss";

Choi Ga Young's avatar
Choi Ga Young committed
3
4
5
const TodoModal = () => {
  return (
    <>
6
      <div className="modal fade" id="todomodal" data-bs-backdrop="static" data-bs-keyboard="false" tabindex="-1" aria-labelledby="staticBackdropLabel" aria-hidden="true">
Choi Ga Young's avatar
Choi Ga Young committed
7
8
        <div className="modal-dialog modal-dialog-centered">
          <div className="modal-content" style={{ backgroundColor: "crimson" }}>
Kim, Subin's avatar
Kim, Subin committed
9
            <div className="modal-header px-2 py-1" >
Choi Ga Young's avatar
Choi Ga Young committed
10
              <h5 className="modal-title text-white" id="staticBackdropLabel">To-do</h5>
Kim, Subin's avatar
Kim, Subin committed
11
              <button type="button" className="btn-close btn-close-white" data-bs-dismiss="modal" aria-label="Close"></button>
Choi Ga Young's avatar
Choi Ga Young committed
12
13
14
            </div>
            <div className="modal-body" style={{ backgroundColor: "white" }}>
              <input type="text" name="todoTitle"
15
                className={`form-control border-top-0 border-end-0 border-start-0 shadow-none rounded-0 ${styles.textInput}`}
Choi Ga Young's avatar
Choi Ga Young committed
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
                placeholder="제목" />
              <label className="form-label m-2">날짜 </label>
              <input type="date" value="2021-10-12" className="ms-4 mt-4" />
            </div>
            <div className="modal-footer p-1" style={{ backgroundColor: "white" }} >
              <button type="button" className="btn btn-secondary btn-sm"
                data-bs-dismiss="modal">취소</button>
              <button type="button" className="btn btn-crimson btn-sm">확인</button>
            </div>
          </div>
        </div>
      </div>
    </>
  )
}

export default TodoModal;