Skip to content

Commit

Permalink
refactor: update peer dependency for react and react-dom (#326)
Browse files Browse the repository at this point in the history
* refactor: remove react16 from peer dependency

* build: update lock file

* fix: fix lint issue

* refactor: add 17 support of react in peerDep
  • Loading branch information
Mashal-m authored Apr 5, 2023
1 parent 22e157a commit 9fc3a0e
Show file tree
Hide file tree
Showing 2 changed files with 82 additions and 82 deletions.
160 changes: 80 additions & 80 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@
},
"peerDependencies": {
"prop-types": "^15.5.10",
"react": "^16.9.0",
"react-dom": "^16.9.0"
"react": "^16.9.0 || ^17.0.0",
"react-dom": "^16.9.0 || ^17.0.0"
}
}

0 comments on commit 9fc3a0e

Please sign in to comment.