From 47c84bd46ab8788a9086dfb3f3f4b8ee2366491a Mon Sep 17 00:00:00 2001 From: Agney Menon Date: Sun, 9 Jul 2023 21:39:43 +0530 Subject: [PATCH] add React 18 to skip-nav peer dependencies --- .changeset/metal-dryers-raise.md | 5 +++++ packages/skip-nav/package.json | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) create mode 100644 .changeset/metal-dryers-raise.md diff --git a/.changeset/metal-dryers-raise.md b/.changeset/metal-dryers-raise.md new file mode 100644 index 000000000..e8a79d6ed --- /dev/null +++ b/.changeset/metal-dryers-raise.md @@ -0,0 +1,5 @@ +--- +"@reach/skip-nav": minor +--- + +Add React 18 to peer dependencies diff --git a/packages/skip-nav/package.json b/packages/skip-nav/package.json index 01d51b9d5..e9bde74cf 100644 --- a/packages/skip-nav/package.json +++ b/packages/skip-nav/package.json @@ -27,8 +27,8 @@ "tsup": "^6.1.3" }, "peerDependencies": { - "react": "^16.8.0 || 17.x", - "react-dom": "^16.8.0 || 17.x" + "react": "^16.8.0 || 17.x || 18.x", + "react-dom": "^16.8.0 || 17.x || 18.x" }, "main": "./src/reach-skip-nav.tsx", "types": "./src/reach-skip-nav.tsx",