File tree Expand file tree Collapse file tree 5 files changed +381
-392
lines changed Expand file tree Collapse file tree 5 files changed +381
-392
lines changed Original file line number Diff line number Diff line change @@ -13,4 +13,6 @@ node_modules
13
13
14
14
.env
15
15
16
- * .tgz
16
+ * .tgz
17
+
18
+ demo-app-2
Original file line number Diff line number Diff line change @@ -19,6 +19,8 @@ Make sure you ⭐️ this [`repository`](https://github.com/pettiboy/react-ui-sc
19
19
20
20
## ✨ Installation
21
21
22
+ ### React 18
23
+
22
24
``` bash
23
25
npm install --save react-ui-scrollspy
24
26
```
29
31
yarn add react-ui-scrollspy
30
32
```
31
33
34
+ ### React 17 and below
35
+
36
+ ``` bash
37
+ npm install --save react-ui-scrollspy@2.2.0
38
+ ```
39
+
40
+ OR
41
+
42
+ ``` bash
43
+ yarn add react-ui-scrollspy@2.2.0
44
+ ```
45
+
32
46
## 🎞 Demo
33
47
34
48
### Try it your self [ here] ( https://pettiboy.github.io/react-ui-scrollspy ) !
Original file line number Diff line number Diff line change @@ -14,10 +14,10 @@ creates a `.tgz`
14
14
``` bash
15
15
npm run build
16
16
npm pack
17
- mv react-ui-scrollspy-2.2 .0.tgz ./demo-app
17
+ mv react-ui-scrollspy-2.3 .0.tgz ./demo-app
18
18
cd demo-app
19
19
npm uninstall react-ui-scrollspy
20
- npm install react-ui-scrollspy-2.2 .0.tgz --production
20
+ npm install react-ui-scrollspy-2.3 .0.tgz --production
21
21
cd ..
22
22
```
23
23
You can’t perform that action at this time.
0 commit comments