"use client"; import type * as React from "react"; import { Drawer as DrawerPrimitive } from "vaul"; import { cn } from "@/lib/utils"; function Drawer({ shouldScaleBackground = true, ...props }: React.ComponentProps) { return ; } Drawer.displayName = "Drawer"; const DrawerTrigger = DrawerPrimitive.Trigger; const DrawerPortal = DrawerPrimitive.Portal; const DrawerClose = DrawerPrimitive.Close; function DrawerOverlay({ className, ...props }: React.ComponentProps) { return ( ); } DrawerOverlay.displayName = DrawerPrimitive.Overlay.displayName; function DrawerContent({ className, children, overlayClassName, ...props }: React.ComponentProps & { overlayClassName?: string; }) { return ( {children} ); } DrawerContent.displayName = "DrawerContent"; function DrawerHeader({ className, ...props }: React.HTMLAttributes) { return
; } DrawerHeader.displayName = "DrawerHeader"; function DrawerFooter({ className, ...props }: React.HTMLAttributes) { return
; } DrawerFooter.displayName = "DrawerFooter"; function DrawerTitle({ className, ...props }: React.ComponentProps) { return ( ); } DrawerTitle.displayName = DrawerPrimitive.Title.displayName; function DrawerDescription({ className, ...props }: React.ComponentProps) { return ( ); } DrawerDescription.displayName = DrawerPrimitive.Description.displayName; function DrawerHandle({ className, ...props }: React.HTMLAttributes) { return (
); } DrawerHandle.displayName = "DrawerHandle"; export { Drawer, DrawerPortal, DrawerOverlay, DrawerTrigger, DrawerClose, DrawerContent, DrawerHeader, DrawerFooter, DrawerTitle, DrawerDescription, DrawerHandle, };