import * as React from 'react'; import * as DialogPrimitive from '@radix-ui/react-dialog'; import { X } from 'lucide-react'; import { cn } from '../../lib/cn'; const Sheet = DialogPrimitive.Root; const SheetTrigger = DialogPrimitive.Trigger; const SheetClose = DialogPrimitive.Close; const SheetPortal = DialogPrimitive.Portal; const SheetOverlay = React.forwardRef< React.ComponentRef, React.ComponentPropsWithoutRef >(({ className, ...props }, ref) => ( )); SheetOverlay.displayName = DialogPrimitive.Overlay.displayName; interface SheetContentProps extends React.ComponentPropsWithoutRef { side?: 'top' | 'bottom' | 'left' | 'right'; } const SheetContent = React.forwardRef< React.ComponentRef, SheetContentProps >(({ side = 'left', className, children, ...props }, ref) => ( {children} Close )); SheetContent.displayName = DialogPrimitive.Content.displayName; const SheetHeader = ({ className, ...props }: React.HTMLAttributes) => (
); SheetHeader.displayName = 'SheetHeader'; const SheetTitle = React.forwardRef< React.ComponentRef, React.ComponentPropsWithoutRef >(({ className, ...props }, ref) => ( )); SheetTitle.displayName = DialogPrimitive.Title.displayName; export { Sheet, SheetTrigger, SheetClose, SheetContent, SheetHeader, SheetTitle, };