+
+
+ {icon}
+
{title}
+
+
+
+
+
+
+ {content}
+ {actions}
+
+
+ );
+}
+
+export default Modal;
diff --git a/src/routes/ModalTestRoute.tsx b/src/routes/ModalTestRoute.tsx
new file mode 100644
index 0000000..c6c0371
--- /dev/null
+++ b/src/routes/ModalTestRoute.tsx
@@ -0,0 +1,67 @@
+import Modal from "@/components/Modal";
+import Button from "@/components/Button";
+import InputField from "@/components/InputField";
+import { Truck } from "@phosphor-icons/react";
+import { useState } from "react";
+
+function ModalTestRoute() {
+ // State to toggle the modal
+ const [isModalOpen, setIsModalOpen] = useState(false);
+
+ // Function to toggle the modal
+ const toggleModal = () => setIsModalOpen(!isModalOpen);
+
+ return (
+