"use client" import * as React from "react" import { XIcon } from "lucide-react" import { Dialog as DialogPrimitive } from "radix-ui" import { cn } from "@/lib/utils" function Dialog({ ...props }) { return ; } function DialogTrigger({ ...props }) { return ; } function DialogPortal({ ...props }) { return ; } function DialogClose({ ...props }) { return ; } function DialogOverlay({ className, ...props }) { return ( ); } function DialogContent({ className, children, showCloseButton = true, ...props }) { return ( {children} {showCloseButton && ( Close )} ); } function DialogHeader({ className, ...props }) { return (
); } function DialogFooter({ className, showCloseButton = false, children, ...props }) { return (
{children} {showCloseButton && ( )}
); } function DialogTitle({ className, ...props }) { return ( ); } function DialogDescription({ className, ...props }) { return ( ); } export { Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, }