Create skeleton infraction modal

This commit is contained in:
regalijan 2023-10-19 16:49:33 -04:00
parent 8b18454af9
commit 1af74782f5
Signed by: regalijan
GPG Key ID: 5D4196DA269EF520
2 changed files with 21 additions and 1 deletions

View File

@ -11,7 +11,6 @@ export default function (props: {
departments: string[];
isOpen: boolean;
onClose: () => void;
onOpen: () => void;
}) {
return (
<>

View File

@ -0,0 +1,21 @@
import {
Modal,
ModalBody,
ModalCloseButton,
ModalContent,
ModalHeader,
ModalOverlay,
} from "@chakra-ui/react";
export default function (props: { isOpen: boolean; onClose: () => void }) {
return (
<Modal isCentered isOpen={props.isOpen} onClose={props.onClose}>
<ModalOverlay />
<ModalContent>
<ModalHeader>New Infraction</ModalHeader>
<ModalCloseButton />
<ModalBody></ModalBody>
</ModalContent>
</Modal>
);
}