From 667b618d45cc229f9fbbfc607997f498c43d685d Mon Sep 17 00:00:00 2001 From: Andreas Willi Date: Tue, 29 Mar 2022 20:15:55 +0200 Subject: [PATCH] Allow react 18 as peer dependency --- README.md | 2 +- package.json | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index ead5677..22037b9 100644 --- a/README.md +++ b/README.md @@ -19,7 +19,7 @@ 👨🏼‍💻 **TypeScript Support**: The package contains TypeScript declarations so you can enjoy IntelliSense in your editor. -✅ **Compatibility**: Compatible with React 16 (>=16.8.0) and React 17. Support of new versions of React as they are released will be ensured. +✅ **Compatibility**: Compatible with React 16 (>=16.8.0), React 17 and React 18. Support of new versions of React as they are released will be ensured. ## Getting Started diff --git a/package.json b/package.json index 8f2d58c..64d45c0 100644 --- a/package.json +++ b/package.json @@ -27,8 +27,8 @@ "lib/" ], "peerDependencies": { - "react": "16.8.0 - 17.x.x", - "react-dom": "16.8.0 - 17.x.x" + "react": ">=16.8.0", + "react-dom": ">=16.8.0" }, "devDependencies": { "@babel/core": "^7.0.0",