Skip to content

Commit 8fd954e

Browse files
lopisagilgur5
authored andcommitted
(deps): update peerDeps to support React 16 without warnings
- seems to work flawlessly with React 16 and React DOM 16 but the `package.json` needed to be updated so as not to throw warnings when using 16 during installation
1 parent 012d527 commit 8fd954e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,8 @@
4343
},
4444
"peerDependencies": {
4545
"prop-types": "^15.5.8",
46-
"react": "^0.14.0 || ^15.0.0",
47-
"react-dom": "^0.14.0 || ^15.0.0"
46+
"react": "0.14 - 16",
47+
"react-dom": "0.14 - 16"
4848
},
4949
"dependencies": {
5050
"trim-canvas": "^0.1.0"

0 commit comments

Comments
 (0)