Skip to content

Commit

Permalink
Add react and react-dom as peer dependencies
Browse files Browse the repository at this point in the history
Fixes errors using Yarn 2 (berry).

See ant-design/ant-design#27339 for details.
  • Loading branch information
brandonbloom committed Oct 26, 2020
1 parent 8dcd21d commit 4dc7064
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions package.json
Expand Up @@ -60,5 +60,9 @@
"@ant-design/css-animation": "^1.7.2",
"raf": "^3.4.0",
"rc-util": "^4.15.3"
},
"peerDependencies": {
"react": ">=16.9.0",
"react-dom": ">=16.9.0"
}
}

0 comments on commit 4dc7064

Please sign in to comment.