import type * as React from 'react' import { type DialogProps, Drawer as DrawerPrimitive } from 'vaul' import { headingLevelClasses, textSizeClasses, textVariantClasses } from '../styles/classes' import type { DrawerBodyProps, DrawerContentProps, DrawerDescriptionProps, DrawerFooterProps, DrawerHeaderProps, DrawerProps, DrawerTitleProps, DrawerTriggerProps } from '../types/drawer' import { cn } from '../utils' import { Button } from './button' import { Container } from './container' const Drawer: React.FC = ({ children, direction = 'right', ...props }) => { return ( {children} ) } const DrawerTrigger: React.FC = ({ children, asChild = false }) => { return ( {/* To ensure children are wrapped in one parent is asChild is true */} {asChild ?
{children}
: children}
) } const DrawerPortal = (props: React.ComponentProps) => { return } const DrawerClose = () => { return (