build: 📦️ add react 17.x to peerDependencies

This commit is contained in:
bubkoo
2021-03-29 21:35:22 +08:00
parent fe44b62af8
commit a94b2fe1e3
2 changed files with 4 additions and 4 deletions

View File

@ -62,8 +62,8 @@
],
"peerDependencies": {
"antd": ">=4.4.2",
"react": ">=16.8.6",
"react-dom": ">=16.8.6"
"react": ">=16.8.6 || >=17.0.0",
"react-dom": ">=16.8.6 || >=17.0.0"
},
"dependencies": {
"clamp": "^1.0.1",

View File

@ -47,8 +47,8 @@
],
"peerDependencies": {
"@antv/x6": ">=1.0.0",
"react": ">=16.8.6",
"react-dom": ">=16.8.6"
"react": ">=16.8.6 || >=17.0.0",
"react-dom": ">=16.8.6 || >=17.0.0"
},
"devDependencies": {
"@rollup/plugin-commonjs": "^17.1.0",