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
1313
1414.env
1515
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
1919
2020## ✨ Installation
2121
22+ ### React 18
23+
2224``` bash
2325npm install --save react-ui-scrollspy
2426```
2931yarn add react-ui-scrollspy
3032```
3133
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+
3246## 🎞 Demo
3347
3448### 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`
1414``` bash
1515npm run build
1616npm pack
17- mv react-ui-scrollspy-2.2 .0.tgz ./demo-app
17+ mv react-ui-scrollspy-2.3 .0.tgz ./demo-app
1818cd demo-app
1919npm 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
2121cd ..
2222```
2323
You can’t perform that action at this time.
0 commit comments