import * as React from "react"; import { Drawer as DrawerPrimitive } from "vaul"; import { cn } from "../utils.js"; const Drawer = ({ shouldScaleBackground = true, ...props }: React.ComponentProps) => ( ); Drawer.displayName = "Drawer"; type DrawerButtonProps = React.ComponentPropsWithoutRef<"button"> & { asChild?: boolean; }; const DrawerTrigger = React.forwardRef( (props, ref) => , ); DrawerTrigger.displayName = DrawerPrimitive.Trigger.displayName; const DrawerPortal = DrawerPrimitive.Portal; const DrawerClose = React.forwardRef( (props, ref) => , ); DrawerClose.displayName = DrawerPrimitive.Close.displayName; type DrawerDivProps = React.ComponentPropsWithoutRef<"div"> & { asChild?: boolean; }; const DrawerOverlay = React.forwardRef( ({ className, ...props }, ref) => ( ), ); DrawerOverlay.displayName = DrawerPrimitive.Overlay.displayName; const DrawerContent = React.forwardRef( ({ className, children, ...props }, ref) => (
{children} ), ); DrawerContent.displayName = "DrawerContent"; const DrawerHeader = ({ className, ...props }: React.HTMLAttributes) => (
); DrawerHeader.displayName = "DrawerHeader"; const DrawerFooter = ({ className, ...props }: React.HTMLAttributes) => (
); DrawerFooter.displayName = "DrawerFooter"; const DrawerTitle = React.forwardRef( ({ className, ...props }, ref) => ( ), ); DrawerTitle.displayName = DrawerPrimitive.Title.displayName; const DrawerDescription = React.forwardRef( ({ className, ...props }, ref) => ( ), ); DrawerDescription.displayName = DrawerPrimitive.Description.displayName; export { Drawer, DrawerPortal, DrawerOverlay, DrawerTrigger, DrawerClose, DrawerContent, DrawerHeader, DrawerFooter, DrawerTitle, DrawerDescription, };