diff --git a/components/NewInactivityNotice.tsx b/components/NewInactivityNotice.tsx index c2f949c..df0b53c 100644 --- a/components/NewInactivityNotice.tsx +++ b/components/NewInactivityNotice.tsx @@ -1,17 +1,39 @@ import { + Checkbox, + CheckboxGroup, Modal, ModalBody, ModalCloseButton, ModalContent, ModalHeader, ModalOverlay, + Text, + Textarea, + VStack, } from "@chakra-ui/react"; +import { useState } from "react"; export default function (props: { departments: string[]; isOpen: boolean; onClose: () => void; }) { + const [departments, setDepartments] = useState([] as string[]); + function reset() { + (document.getElementById("start") as HTMLInputElement).value = ""; + (document.getElementById("end") as HTMLInputElement).value = ""; + (document.getElementById("reason") as HTMLTextAreaElement).value = ""; + + props.onClose(); + } + + async function submit() { + const start = (document.getElementById("start") as HTMLInputElement).value; + const end = (document.getElementById("start") as HTMLInputElement).value; + const reason = (document.getElementById("reason") as HTMLTextAreaElement) + .value; + } + return ( <> @@ -19,7 +41,32 @@ export default function (props: { New Inactivity Notice - + + Start Date + +
+
+ End Date + +
+
+ Reason +