From e5d03cc389b3118dce053f1254dd467573718af5 Mon Sep 17 00:00:00 2001 From: ayan4m1 Date: Fri, 8 Apr 2022 22:39:19 -0400 Subject: [PATCH] switch to peerDep and add compatibility with react 17/18 --- package.json | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 5ee2488..b03b371 100755 --- a/package.json +++ b/package.json @@ -33,9 +33,11 @@ }, "dependencies": { "prop-types": "^15.8.1", - "react": "^16.9.0", "styled-components": "^5.3.3" }, + "peerDependencies": { + "react": "^16.14.0 || 17.x || 18.x" + }, "keywords": [ "react", "animated",