import * as React from "react"; import { Drawer as DrawerPrimitive } from "vaul"; import { cn } from "../hooks"; /** * Drawer root using Vaul primitives. */ function Drawer({ ...props }: React.ComponentProps) { return ; } /** * Button/element that opens the drawer. */ function DrawerTrigger({ ...props }: React.ComponentProps) { return ; } /** * Portal target for drawer content. */ function DrawerPortal({ ...props }: React.ComponentProps) { return ; } /** * Close control inside the drawer. */ function DrawerClose({ ...props }: React.ComponentProps) { return ; } /** * Fullscreen overlay rendered behind the drawer. */ function DrawerOverlay({ className, ...props }: React.ComponentProps) { return ( ); } /** * Panel content for the drawer, positioned by side. */ function DrawerContent({ className, children, ...props }: React.ComponentProps) { return (
{children} ); } function DrawerHeader({ className, ...props }: React.ComponentProps<"div">) { return (
); } function DrawerFooter({ className, ...props }: React.ComponentProps<"div">) { return (
); } function DrawerTitle({ className, ...props }: React.ComponentProps) { return ( ); } function DrawerDescription({ className, ...props }: React.ComponentProps) { return ( ); } export { Drawer, DrawerPortal, DrawerOverlay, DrawerTrigger, DrawerClose, DrawerContent, DrawerHeader, DrawerFooter, DrawerTitle, DrawerDescription, };