From b3e8f9f45522c7ce08442f361ed3bbad6e317088 Mon Sep 17 00:00:00 2001 From: corpulent Date: Sun, 21 Aug 2022 18:39:24 +0300 Subject: [PATCH] feat: add project select modal --- .../components/modals/new-project/index.tsx | 72 +++++++++++++++++++ 1 file changed, 72 insertions(+) create mode 100644 services/frontend/src/components/modals/new-project/index.tsx diff --git a/services/frontend/src/components/modals/new-project/index.tsx b/services/frontend/src/components/modals/new-project/index.tsx new file mode 100644 index 0000000..751eac8 --- /dev/null +++ b/services/frontend/src/components/modals/new-project/index.tsx @@ -0,0 +1,72 @@ +import { styled } from "@mui/joy"; +import { XIcon } from "@heroicons/react/outline"; +import { CallbackFunction } from "../../../types"; +import { useNavigate } from "react-router-dom"; + +interface IModalNewProjectProps { + onHide: CallbackFunction; +} + +const FormContainer = styled("div")` + display: flex; + flex-direction: column; + gap: 12px; + padding: 20px; +`; + +const ModalNewProject = (props: IModalNewProjectProps) => { + const { onHide } = props; + const navigate = useNavigate(); + + return ( +
+
+
+
+
+
+

Project type

+ +
+ + + + + + +
+
+
+
+ ); +}; + +export default ModalNewProject;