From f8198b92f967889f304e697018536c0569b63fc2 Mon Sep 17 00:00:00 2001 From: Amumu Date: Thu, 14 Jan 2021 09:43:57 +0800 Subject: [PATCH] Add react and react-dom as peer dependencies (#232) --- .gitignore | 1 + package.json | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/.gitignore b/.gitignore index 0c21cb72..ee910bff 100644 --- a/.gitignore +++ b/.gitignore @@ -26,3 +26,4 @@ lib es coverage yarn.lock +package-lock.json \ No newline at end of file diff --git a/package.json b/package.json index 6ee855f8..26b54aa6 100644 --- a/package.json +++ b/package.json @@ -63,5 +63,9 @@ "rc-align": "^4.0.0", "rc-motion": "^2.0.0", "rc-util": "^5.5.0" + }, + "peerDependencies": { + "react": ">=16.9.0", + "react-dom": ">=16.9.0" } }