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