Skip to content

Commit 8e6f904

Browse files
committed
Allow react 16, 17
1 parent e287736 commit 8e6f904

File tree

2 files changed

+43
-33
lines changed

2 files changed

+43
-33
lines changed

package-lock.json

+40-30
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
"deploy": "gh-pages -d example/build"
3737
},
3838
"peerDependencies": {
39-
"react": "^18.0.0"
39+
"react": "^16.0.0 || ^17.0.0 || ^18.0.0"
4040
},
4141
"devDependencies": {
4242
"@testing-library/jest-dom": "^5.16.4",
@@ -55,8 +55,8 @@
5555
"postcss-normalize": "^10.0.1",
5656
"postcss-preset-env": "^7.6.0",
5757
"prettier": "^2.7.1",
58-
"react": "^18.2.0",
59-
"react-dom": "^18.2.0",
58+
"react": "^16.0.0",
59+
"react-dom": "^16.0.0",
6060
"react-scripts": "^5.0.1",
6161
"typescript": "^4.7.4"
6262
},

0 commit comments

Comments
 (0)