import * as DialogPrimitive from "@radix-ui/react-dialog"; import { X } from "lucide-react"; import type { ComponentPropsWithoutRef, PropsWithChildren } from "react"; import { cn } from "./utils"; export const Dialog = DialogPrimitive.Root; export const DialogTrigger = DialogPrimitive.Trigger; export const DialogClose = DialogPrimitive.Close; export function DialogContent({ className, children, ...props }: ComponentPropsWithoutRef) { return {children}; } export function DialogHeader({ className, ...props }: ComponentPropsWithoutRef<"div">) { return
; } export function DialogTitle({ className, ...props }: ComponentPropsWithoutRef) { return ; } export function DialogDescription({ className, ...props }: ComponentPropsWithoutRef) { return ; } export function DialogFooter({ className, ...props }: ComponentPropsWithoutRef<"div">) { return
; } export function DialogForm({ children, ...props }: PropsWithChildren>) { return
{children}
; }