about summary refs log tree commit diff
path: root/src/components/LockScroll
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/LockScroll')
-rw-r--r--src/components/LockScroll/index.tsx3
-rw-r--r--src/components/LockScroll/index.web.tsx3
2 files changed, 6 insertions, 0 deletions
diff --git a/src/components/LockScroll/index.tsx b/src/components/LockScroll/index.tsx
new file mode 100644
index 000000000..7ae45f771
--- /dev/null
+++ b/src/components/LockScroll/index.tsx
@@ -0,0 +1,3 @@
+export function LockScroll() {
+  return null
+}
diff --git a/src/components/LockScroll/index.web.tsx b/src/components/LockScroll/index.web.tsx
new file mode 100644
index 000000000..2110a3cd0
--- /dev/null
+++ b/src/components/LockScroll/index.web.tsx
@@ -0,0 +1,3 @@
+import {RemoveScrollBar} from 'react-remove-scroll-bar'
+
+export const LockScroll = RemoveScrollBar