From 975b043cab6d3e8472994f5c8319bfbc534ba20b Mon Sep 17 00:00:00 2001 From: Wojciech Maj Date: Tue, 26 Jul 2022 02:59:49 +0200 Subject: [PATCH] =?UTF-8?q?fix:=20fix=20"recharts@=E2=80=A6=20doesn't=20pr?= =?UTF-8?q?ovide=20prop-types,=20requested=20by=20react-smooth"=20warning?= =?UTF-8?q?=20(#2895)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fixes #2627 --- package-lock.json | 1 + package.json | 1 + 2 files changed, 2 insertions(+) diff --git a/package-lock.json b/package-lock.json index 02766d72a8..2467a6f325 100644 --- a/package-lock.json +++ b/package-lock.json @@ -94,6 +94,7 @@ "node": ">=12" }, "peerDependencies": { + "prop-types": "^15.6.0", "react": "^16.0.0 || ^17.0.0 || ^18.0.0", "react-dom": "^16.0.0 || ^17.0.0 || ^18.0.0" } diff --git a/package.json b/package.json index a86d46e8b2..42bece35f9 100644 --- a/package.json +++ b/package.json @@ -50,6 +50,7 @@ }, "homepage": "https://github.com/recharts/recharts", "peerDependencies": { + "prop-types": "^15.6.0", "react": "^16.0.0 || ^17.0.0 || ^18.0.0", "react-dom": "^16.0.0 || ^17.0.0 || ^18.0.0" },