diff --git a/src/components/ui/dialog.tsx b/src/components/ui/dialog.tsx new file mode 100644 index 0000000..e705b45 --- /dev/null +++ b/src/components/ui/dialog.tsx @@ -0,0 +1,67 @@ +"use client"; + +import * as DialogPrimitive from "@radix-ui/react-dialog"; +import { X } from "lucide-react"; +import { cn } from "@/lib/utils"; +import { Button } from "@/components/ui/button"; + +export const Dialog = DialogPrimitive.Root; +export const DialogTrigger = DialogPrimitive.Trigger; +export const DialogClose = DialogPrimitive.Close; + +export function DialogContent({ + className, + children, + ...props +}: React.ComponentPropsWithoutRef) { + return ( + + + + {children} + + + + + + ); +} + +export function DialogHeader({ className, ...props }: React.HTMLAttributes) { + return ( +
+ ); +} + +export function DialogTitle({ + className, + ...props +}: React.ComponentPropsWithoutRef) { + return ( + + ); +} + +export function DialogDescription( + props: React.ComponentPropsWithoutRef, +) { + return ( + + ); +}