From 870d7a82c665af80547e228e9e891521fefb59b7 Mon Sep 17 00:00:00 2001 From: LovelessCodes Date: Fri, 27 Mar 2026 08:09:15 +0100 Subject: [PATCH] fix: drawers not being able to handle handle types --- apps/ui/registry/default/ui/drawer.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 (