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 4c7dc10 commit 622fd41
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 @@ -67,5 +67,9 @@
"rc-animate": "3.x",
"rc-util": "^5.2.1",
"shallowequal": "^1.1.0"
},
"peerDependencies": {
"react": "^16.9.0",
"react-dom": "^16.9.0"
}
}

0 comments on commit 622fd41

Please sign in to comment.