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 24, 2020
1 parent 9d5145f commit 58266b7
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,5 +48,9 @@
"dependencies": {
"react-is": "^16.12.0",
"shallowequal": "^1.1.0"
},
"peerDependencies": {
"react": "^16.2.0",
"react-dom": "^16.2.0"
}
}

0 comments on commit 58266b7

Please sign in to comment.