From e5f3488e528fbb0db25563f983f23988b00c6e46 Mon Sep 17 00:00:00 2001 From: Nathan <64515710+nathanwijaya@users.noreply.github.com> Date: Wed, 11 Dec 2024 16:50:12 +1100 Subject: [PATCH] Add React 19 as peer dep --- .changeset/honest-trees-brake.md | 5 +++++ README.md | 2 +- package.json | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) create mode 100644 .changeset/honest-trees-brake.md 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" } }