Skip to content

Commit

Permalink
Add React 19 as peer dep
Browse files Browse the repository at this point in the history
  • Loading branch information
nathanwijaya committed Dec 11, 2024
1 parent 5bebf86 commit e5f3488
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 e5f3488

Please sign in to comment.