'use client'; import type * as React from 'react'; import { XIcon } from 'lucide-react'; import { Dialog as DialogPrimitive } from 'radix-ui'; import { Button, cn } from '@gib/ui'; const Dialog = ({ ...props }: React.ComponentProps) => ( ); const DialogTrigger = ({ ...props }: React.ComponentProps) => ( ); const DialogPortal = ({ ...props }: React.ComponentProps) => ( ); const DialogClose = ({ ...props }: React.ComponentProps) => ( ); const DialogOverlay = ({ className, ...props }: React.ComponentProps) => ( ); const DialogContent = ({ className, children, showCloseButton = true, ...props }: React.ComponentProps & { showCloseButton?: boolean; }) => ( {children} {showCloseButton && ( )} ); const DialogHeader = ({ className, ...props }: React.ComponentProps<'div'>) => (
); const DialogFooter = ({ className, showCloseButton = false, children, ...props }: React.ComponentProps<'div'> & { showCloseButton?: boolean; }) => (
{children} {showCloseButton && ( )}
); const DialogTitle = ({ className, ...props }: React.ComponentProps) => ( ); const DialogDescription = ({ className, ...props }: React.ComponentProps) => ( ); export { Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, };