'use client'; import * as React from 'react'; import { Drawer as DrawerPrimitive } from 'vaul'; import { cn } from '@/lib/utils'; const Drawer = ({ shouldScaleBackground = true, ...props }: React.ComponentProps) => ( ); Drawer.displayName = 'Drawer'; const DrawerTrigger = DrawerPrimitive.Trigger; const DrawerPortal = DrawerPrimitive.Portal; const DrawerClose = DrawerPrimitive.Close; const DrawerOverlay = ({ ref, className, ...props }: React.ComponentPropsWithoutRef & { ref?: React.RefObject | null> }) => ( ); DrawerOverlay.displayName = DrawerPrimitive.Overlay.displayName; const DrawerContent = ({ ref, className, children, ...props }: React.ComponentPropsWithoutRef & { ref?: React.RefObject | null> }) => (
{children} ); DrawerContent.displayName = 'DrawerContent'; const DrawerHeader = ({ className, ...props }: React.HTMLAttributes) => (
); DrawerHeader.displayName = 'DrawerHeader'; const DrawerFooter = ({ className, ...props }: React.HTMLAttributes) => (
); DrawerFooter.displayName = 'DrawerFooter'; const DrawerTitle = ({ ref, className, ...props }: React.ComponentPropsWithoutRef & { ref?: React.RefObject | null> }) => ( ); DrawerTitle.displayName = DrawerPrimitive.Title.displayName; const DrawerDescription = ({ ref, className, ...props }: React.ComponentPropsWithoutRef & { ref?: React.RefObject | null> }) => ( ); DrawerDescription.displayName = DrawerPrimitive.Description.displayName; export { Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger, };