"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>; } ) => (); DrawerOverlay.displayName = DrawerPrimitive.Overlay.displayName; const DrawerContent = ( { ref, className, children, ...props }: React.ComponentPropsWithoutRef & { ref: React.RefObject>; } ) => (
{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>; } ) => (); DrawerTitle.displayName = DrawerPrimitive.Title.displayName; const DrawerDescription = ( { ref, className, ...props }: React.ComponentPropsWithoutRef & { ref: React.RefObject>; } ) => (); DrawerDescription.displayName = DrawerPrimitive.Description.displayName; export { Drawer, DrawerPortal, DrawerOverlay, DrawerTrigger, DrawerClose, DrawerContent, DrawerHeader, DrawerFooter, DrawerTitle, DrawerDescription, };