兼容 react 16.x

This commit is contained in:
2betop 2022-06-07 19:51:51 +08:00
parent cdf91d6c8d
commit 1a11c69784
2 changed files with 8 additions and 0 deletions

View File

@ -60,6 +60,10 @@
"tslib": "^2.3.1",
"uncontrollable": "7.2.1"
},
"peerDependencies": {
"react": ">=16.8.6",
"react-dom": ">=16.8.6"
},
"jest": {
"testEnvironment": "jsdom",
"collectCoverageFrom": [

View File

@ -83,6 +83,10 @@
"ts-jest": "^28.0.3",
"typescript": "^4.6.4"
},
"peerDependencies": {
"react": ">=16.8.6",
"react-dom": ">=16.8.6"
},
"jest": {
"testEnvironment": "jsdom",
"collectCoverageFrom": [