Skip to content

Commit

Permalink
Include React 18 in peerDependencies (#2205)
Browse files Browse the repository at this point in the history
* Include React 18 in peerDependencies

* Create giant-hotels-love.md

Co-authored-by: Siddharth Kshetrapal <siddharthkp@github.com>
  • Loading branch information
okuryu and siddharthkp authored Aug 16, 2022
1 parent 8be020f commit 4badb57
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 4 deletions.
5 changes: 5 additions & 0 deletions .changeset/giant-hotels-love.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@primer/react": patch
---

Include React 18 in peerDependencies
4 changes: 2 additions & 2 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 @@ -199,8 +199,8 @@
"typescript": "4.5.4"
},
"peerDependencies": {
"react": "^17.0.0",
"react-dom": "^17.0.0",
"react": "^17.0.0 || ^18.0.0",
"react-dom": "^17.0.0 || ^18.0.0",
"styled-components": "4.x || 5.x"
},
"prettier": "@github/prettier-config",
Expand Down

0 comments on commit 4badb57

Please sign in to comment.