Skip to content

Commit

Permalink
Merge pull request #553 from nathanwijaya/master
Browse files Browse the repository at this point in the history
Add React 19 as peer dep
  • Loading branch information
nygardk authored Dec 30, 2024
2 parents 5bebf86 + e5f3488 commit dac4799
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .changeset/honest-trees-brake.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"react-share": patch
---

Support React 19 in peerDependencies
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ npm install react-share
| 3 | `15`, `16` |
| 3.0.1 | `^16.3.` |
| 4 | `^16.3`, `17`, `18` |
| 5 | `17`, `18` |
| 5 | `17`, `18`, `19` |

## API

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,6 @@
"jsonp": "^0.2.1"
},
"peerDependencies": {
"react": "^17 || ^18"
"react": "^17 || ^18 || ^19"
}
}

0 comments on commit dac4799

Please sign in to comment.