From cd4449201e06f9c2388d6a068d64b276aa123143 Mon Sep 17 00:00:00 2001 From: arsam Date: Fri, 18 Sep 2026 23:11:05 +0330 Subject: [PATCH] Import source: src/components/ui/dialog Import the existing local project snapshot. This commit organizes existing files; it does not represent newly developed functionality. --- src/components/ui/dialog.tsx | 67 ++++++++++++++++++++++++++++++++++++ 1 file changed, 67 insertions(+) create mode 100644 src/components/ui/dialog.tsx 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 ( + + ); +}