diff --git a/apps/ui/registry/default/ui/drawer.tsx b/apps/ui/registry/default/ui/drawer.tsx index 820f4c7ad..430f90250 100644 --- a/apps/ui/registry/default/ui/drawer.tsx +++ b/apps/ui/registry/default/ui/drawer.tsx @@ -33,11 +33,11 @@ const directionMap: Record< export const DrawerCreateHandle: typeof DrawerPrimitive.createHandle = DrawerPrimitive.createHandle; -export function Drawer({ +export function Drawer({ swipeDirection, position = "bottom", ...props -}: DrawerPrimitive.Root.Props & { +}: DrawerPrimitive.Root.Props & { position?: DrawerPosition; }): React.ReactElement { return (