From 0df233004e252bfc67d864b320e45a3714831e00 Mon Sep 17 00:00:00 2001 From: Jussi Kinnula Date: Wed, 30 Mar 2022 09:46:12 +0300 Subject: [PATCH] Update peer dependencies to allow React 18 --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index fa14aec..017f8b1 100644 --- a/package.json +++ b/package.json @@ -4,8 +4,8 @@ "description": " React Component to lazy load images using a HOC to track window scroll position.", "main": "build/index.js", "peerDependencies": { - "react": "^15.x.x || ^16.x.x || ^17.x.x", - "react-dom": "^15.x.x || ^16.x.x || ^17.x.x" + "react": "^15.x.x || ^16.x.x || ^17.x.x || ^18.x.x", + "react-dom": "^15.x.x || ^16.x.x || ^17.x.x || ^18.x.x" }, "dependencies": { "lodash.debounce": "^4.0.8",