import * as React from "react"; import * as DialogPrimitive from "@radix-ui/react-dialog"; import { cn } from "@/lib/utils"; const Drawer = DialogPrimitive.Root; const DrawerTrigger = DialogPrimitive.Trigger; const DrawerPortal = DialogPrimitive.Portal; const DrawerClose = DialogPrimitive.Close; const DrawerOverlay = React.forwardRef< React.ElementRef, React.ComponentPropsWithoutRef >(({ className, ...props }, ref) => ( )); DrawerOverlay.displayName = DialogPrimitive.Overlay.displayName; const DrawerContent = React.forwardRef< React.ElementRef, React.ComponentPropsWithoutRef >(({ className, ...props }, ref) => ( )); DrawerContent.displayName = DialogPrimitive.Content.displayName; function DrawerHeader({ className, ...props }: React.ComponentProps<"div">) { return (
); } function DrawerBody({ className, ...props }: React.ComponentProps<"div">) { return
; } function DrawerFooter({ className, ...props }: React.ComponentProps<"div">) { return (
); } const DrawerTitle = React.forwardRef< React.ElementRef, React.ComponentPropsWithoutRef >(({ className, ...props }, ref) => ( )); DrawerTitle.displayName = DialogPrimitive.Title.displayName; const DrawerDescription = React.forwardRef< React.ElementRef, React.ComponentPropsWithoutRef >(({ className, ...props }, ref) => ( )); DrawerDescription.displayName = DialogPrimitive.Description.displayName; export { Drawer, DrawerBody, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerTitle, DrawerTrigger, };