A drawer component for React.
Typo
emilkowalskie8ad874b6db0
diff --git a/src/index.tsx b/src/index.tsxindex 9564e4d..b880d47 100644--- a/src/index.tsx+++ b/src/index.tsx@@ -159,7 +159,7 @@ function Root({const swipeAmount = drawerRef.current ? getTranslate(drawerRef.current, direction) : null;const date = new Date();- if (direction === 'right' || 'left') {+ if (direction === 'right' || direction === 'left') {return true;}