Skip to content

Commit

Permalink
Add react and react-dom as peer dependencies (#116)
Browse files Browse the repository at this point in the history
* Add react and react-dom as peer dependencies

Fixes errors using Yarn 2 (berry).

See ant-design/ant-design#27339 for details.

* Update package.json

* Update package.json

Co-authored-by: Amumu <yoyo837@hotmail.com>
  • Loading branch information
brandonbloom and yoyo837 committed Oct 30, 2020
1 parent 8dcd21d commit d37597d
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 d37597d

Please sign in to comment.