"use client" import * as React from "react" import { Drawer as DrawerPrimitive } from "vaul" import { cn } from "@/lib/utils" function Drawer({ ...props }: React.ComponentProps) { return } function DrawerTrigger({ ...props }: React.ComponentProps) { return } function DrawerPortal({ ...props }: React.ComponentProps) { return } function DrawerClose({ ...props }: React.ComponentProps) { return } function DrawerOverlay({ className, ...props }: React.ComponentProps) { return ( ) } 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 ( ) } const DrawerComponent = Object.assign(Drawer, { Trigger: DrawerTrigger, Portal: DrawerPortal, Overlay: DrawerOverlay, Close: DrawerClose, Content: DrawerContent, Header: DrawerHeader, Footer: DrawerFooter, Title: DrawerTitle, Description: DrawerDescription, }); export { DrawerComponent as Drawer };