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",