From e62bfc18251b0b2fe0a9dead828901e89325c99a Mon Sep 17 00:00:00 2001 From: Ryukemeister Date: Tue, 10 Oct 2023 22:36:24 +0530 Subject: [PATCH] add dialog for new schedule --- .../atoms/availabilitylist/NewScheduleButton.tsx | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/packages/atoms/availabilitylist/NewScheduleButton.tsx b/packages/atoms/availabilitylist/NewScheduleButton.tsx index 75b8cd4a4b..25ae48df3a 100644 --- a/packages/atoms/availabilitylist/NewScheduleButton.tsx +++ b/packages/atoms/availabilitylist/NewScheduleButton.tsx @@ -1,9 +1,22 @@ +import { Dialog, DialogTrigger, DialogContent, DialogHeader, DialogTitle } from "@/components/ui/dialog"; + +import { Button } from "../src/components/ui/button"; import { Form } from "./Form"; export function NewScheduleButton({ name = "new-schedule" }: { name?: string }) { return (
-
+ + + + + + + Add new schedule + + + +
); }