From fc6b7f8930c9453c123c06dda8c6b8bd28c69ed6 Mon Sep 17 00:00:00 2001 From: Bunlong Date: Mon, 30 May 2022 16:24:55 +0700 Subject: [PATCH] Support React 18 --- package.json | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index 7b4c5b9..64a2f19 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "react-screen-capture", - "version": "1.0.1", + "version": "1.1.0", "description": "A tiny React library allows you to take a snapshot of the webpage's screen or part of the screen.", "author": "Bunlong ", "license": "MIT", @@ -81,8 +81,9 @@ } ], "peerDependencies": { - "react": "^16.13.1", - "react-dom": "^16.13.1" + "react": ">=17.0.0", + "react-dom": ">=17.0.0", + "react-scripts": ">=4.0.0" }, "browser": { "fs": false