diff --git a/package.json b/package.json index b455fdbc..476a3146 100644 --- a/package.json +++ b/package.json @@ -39,7 +39,7 @@ "component" ], "peerDependencies": { - "react": "^16.4.0", + "react": "^16.4.0 || ^17.0.0", "react-dom": "^16.4.0" }, "devDependencies": { @@ -71,7 +71,7 @@ "husky": "4.3.0", "jest-cli": "26.6.0", "parcel-bundler": "1.12.4", - "react": "16.14.0", + "react": "17.0.0", "react-dom": "16.14.0", "react-json-view": "1.19.1", "react-markdown": "4.3.1", diff --git a/yarn.lock b/yarn.lock index a75f590f..d2aca563 100644 --- a/yarn.lock +++ b/yarn.lock @@ -11557,14 +11557,13 @@ react-textarea-autosize@^6.1.0: dependencies: prop-types "^15.6.0" -react@16.14.0: - version "16.14.0" - resolved "https://registry.yarnpkg.com/react/-/react-16.14.0.tgz#94d776ddd0aaa37da3eda8fc5b6b18a4c9a3114d" - integrity sha512-0X2CImDkJGApiAlcf0ODKIneSwBPhqJawOa5wCtKbu7ZECrmS26NvtSILynQ66cgkT/RJ4LidJOc3bUESwmU8g== +react@17.0.0: + version "17.0.0" + resolved "https://registry.yarnpkg.com/react/-/react-17.0.0.tgz#ad96d5fa1a33bb9b06d0cc52672f7992d84aa662" + integrity sha512-rG9bqS3LMuetoSUKHN8G3fMNuQOePKDThK6+2yXFWtoeTDLVNh/QCaxT+Jr+rNf4lwNXpx+atdn3Aa0oi8/6eQ== dependencies: loose-envify "^1.1.0" object-assign "^4.1.1" - prop-types "^15.6.2" read-pkg-up@^1.0.1: version "1.0.1"