diff options
-rw-r--r-- | package.json | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/package.json b/package.json index 6ead08b9..6c9ba662 100644 --- a/package.json +++ b/package.json @@ -106,5 +106,13 @@ "peerDependencies": { "react": "^16.x || 17.x", "react-dom": "^16.x || 17.x" + }, + "peerDependenciesMeta": { + "react": { + "optional": true + }, + "react-dom": { + "optional": true + } } } |