Skip to content

Commit

Permalink
Add React v17 peer dependency
Browse files Browse the repository at this point in the history
Can confirm it works with React v17. Will remove the console warnings for those already on React v17.
  • Loading branch information
arnabsen authored Dec 22, 2020
1 parent 3e3a83b commit 8463f93
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
},
"homepage": "https://github.com/nkbt/react-copy-to-clipboard",
"peerDependencies": {
"react": "^15.3.0 || ^16.0.0"
"react": "^15.3.0 || ^16.0.0 || ^17.0.0"
},
"dependencies": {
"copy-to-clipboard": "^3",
Expand Down

0 comments on commit 8463f93

Please sign in to comment.