File tree 1 file changed +25
-1
lines changed 1 file changed +25
-1
lines changed Original file line number Diff line number Diff line change
1
+ <div align =" center " >
2
+ <h1 >React-remove-📜</h1 >
3
+ <br />
4
+ dont even scroll
5
+ <br />
6
+
7
+ <a href =" https://www.npmjs.com/package/react-remove-scroll " >
8
+ <img src="https://img.shields.io/npm/v/react-remove-scroll.svg?style=flat-square" />
9
+ </a >
10
+
11
+ <a href =" https://travis-ci.org/theKashey/react-remove-scroll " >
12
+ <img src =" https://img.shields.io/travis/theKashey/react-remove-scroll.svg?style=flat-square " alt =" Build status " >
13
+ </a >
14
+
15
+ <a href =" https://www.npmjs.com/package/react-remove-scroll " >
16
+ <img src =" https://img.shields.io/npm/dm/react-remove-scroll.svg " alt =" npm downloads " >
17
+ </a >
18
+
19
+ <a href =" https://bundlephobia.com/result?p=react-remove-scroll " >
20
+ <img src =" https://img.shields.io/bundlephobia/minzip/react-remove-scroll.svg " alt =" bundle size " >
21
+ </a >
22
+ <br />
23
+ </div >
24
+
1
25
react-remove-scroll
2
26
====
3
27
[ ![ NPM version] ( https://img.shields.io/npm/v/react-remove-scroll.svg )] ( https://www.npmjs.com/package/react-remove-scroll )
@@ -38,7 +62,7 @@ React portals not friendly, might lead to production issues. Enable only for __r
38
62
- (👁 UI) __ 400b__ , visual elements only
39
63
- (🚗 sidecar) 1.5kb, side effects
40
64
``` js
41
- import {sidecar } from " use-sidecar " ;
65
+ import {sidecar } from " react-remove-scroll " ;
42
66
import {RemoveScroll } from ' react-remove-scroll/UI' ;
43
67
44
68
const sidecar = sidecar (() => import (' react-remove-scroll/sidecar' ));
You can’t perform that action at this time.
0 commit comments