diff --git a/.changeset/honest-trees-brake.md b/.changeset/honest-trees-brake.md new file mode 100644 index 00000000..a5e6486f --- /dev/null +++ b/.changeset/honest-trees-brake.md @@ -0,0 +1,5 @@ +--- +"react-share": patch +--- + +Support React 19 in peerDependencies diff --git a/README.md b/README.md index b7c99e22..cd488785 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/package.json b/package.json index aaba6ecd..10364292 100644 --- a/package.json +++ b/package.json @@ -81,6 +81,6 @@ "jsonp": "^0.2.1" }, "peerDependencies": { - "react": "^17 || ^18" + "react": "^17 || ^18 || ^19" } }