From cc1ef7426dbdf250f9056992ed94a4bedebc4f5c Mon Sep 17 00:00:00 2001 From: Cassidy Williams <1454517+cassidoo@users.noreply.github.com> Date: Sun, 7 Aug 2022 12:45:23 -0500 Subject: [PATCH] Add peer dependency for React 18 in `visually-hidden` package (#953) --- packages/visually-hidden/package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/visually-hidden/package.json b/packages/visually-hidden/package.json index 8f953455e..1b2ac71ba 100644 --- a/packages/visually-hidden/package.json +++ b/packages/visually-hidden/package.json @@ -21,8 +21,8 @@ "react-dom": "^17.0.2" }, "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": "dist/reach-visually-hidden.cjs.js", "module": "dist/reach-visually-hidden.esm.js",