diff --git a/app/components/CreateRoleFormModal/CreateRoleForm.tsx b/app/components/CreateRoleFormModal/CreateRoleForm.tsx new file mode 100644 index 00000000..72d70159 --- /dev/null +++ b/app/components/CreateRoleFormModal/CreateRoleForm.tsx @@ -0,0 +1,106 @@ +import { Form } from "@remix-run/react"; +import { FC, useState } from "react"; + +import CreateRoleModal from "./CreateRoleModal"; + +interface CreateRoleFormProperties { + isOpen: boolean; + onClose: () => void; +} + +const CreateRoleForm: FC = ({ isOpen, onClose }) => { + const [roleName, setRoleName] = useState(""); + const [roleDescription, setRoleDescription] = useState(""); + + const handleSubmit = (event: React.FormEvent) => { + event.preventDefault(); + + onClose(); + }; + + return ( + +
+
+

Create Role

+ +
+

+ Define customized responsibilities for collaborative success. +

+
+
+ + setRoleName(event.target.value)} + className="w-[50%] rounded-md border border-border p-2 text-sm font-normal text-[#525252]" + required + /> +
+
+ +