import { Drawer as DrawerPrimitive } from "@base-ui/react/drawer";
import { cn } from "@/lib/utils";
function Drawer({ ...props }: DrawerPrimitive.Root.Props) {
return ;
}
function DrawerTrigger({ ...props }: DrawerPrimitive.Trigger.Props) {
return ;
}
function DrawerPortal({ ...props }: DrawerPrimitive.Portal.Props) {
return ;
}
function DrawerBackdrop({ className, ...props }: DrawerPrimitive.Backdrop.Props) {
return (
);
}
function DrawerContent({ className, children, ...props }: DrawerPrimitive.Popup.Props) {
return (
{children}
);
}
function DrawerClose({ ...props }: DrawerPrimitive.Close.Props) {
return ;
}
function DrawerViewport({ ...props }: DrawerPrimitive.Viewport.Props) {
return ;
}
export {
Drawer,
DrawerBackdrop,
DrawerClose,
DrawerContent,
DrawerPortal,
DrawerTrigger,
DrawerViewport,
};