import * as React from "react" import { Drawer as DrawerPrimitive } from "vaul" import { cn } from "@/lib/utils" const BottomSheet = ({ shouldScaleBackground = true, ...props }: React.ComponentProps) => ( ) BottomSheet.displayName = "BottomSheet" const BottomSheetTrigger = DrawerPrimitive.Trigger const BottomSheetPortal = DrawerPrimitive.Portal const BottomSheetClose = DrawerPrimitive.Close const BottomSheetOverlay = React.forwardRef< React.ElementRef, React.ComponentPropsWithoutRef >(({ className, ...props }, ref) => ( )) BottomSheetOverlay.displayName = DrawerPrimitive.Overlay.displayName const BottomSheetContent = React.forwardRef< React.ElementRef, React.ComponentPropsWithoutRef >(({ className, children, ...props }, ref) => (
{children} )) BottomSheetContent.displayName = "BottomSheetContent" const BottomSheetHeader = ({ className, ...props }: React.HTMLAttributes) => (
) BottomSheetHeader.displayName = "BottomSheetHeader" const BottomSheetFooter = ({ className, ...props }: React.HTMLAttributes) => (
) BottomSheetFooter.displayName = "BottomSheetFooter" const BottomSheetTitle = React.forwardRef< React.ElementRef, React.ComponentPropsWithoutRef >(({ className, ...props }, ref) => ( )) BottomSheetTitle.displayName = DrawerPrimitive.Title.displayName const BottomSheetDescription = React.forwardRef< React.ElementRef, React.ComponentPropsWithoutRef >(({ className, ...props }, ref) => ( )) BottomSheetDescription.displayName = DrawerPrimitive.Description.displayName export { BottomSheet, BottomSheetPortal, BottomSheetOverlay, BottomSheetTrigger, BottomSheetClose, BottomSheetContent, BottomSheetHeader, BottomSheetFooter, BottomSheetTitle, BottomSheetDescription, }