diff --git a/packages/react/components/Drawer.tsx b/packages/react/components/Drawer.tsx index b6bb745..bceb316 100644 --- a/packages/react/components/Drawer.tsx +++ b/packages/react/components/Drawer.tsx @@ -349,7 +349,7 @@ const DrawerContent = forwardRef( transitionDuration: dragState.isDragging ? "0s" : undefined, userSelect: dragState.isDragging ? "none" : undefined, }} - ref={(el) => { + ref={(el: HTMLDivElement | null) => { internalRef.current = el; if (typeof ref === "function") { ref(el);