File tree Expand file tree Collapse file tree 3 files changed +5
-3
lines changed Expand file tree Collapse file tree 3 files changed +5
-3
lines changed Original file line number Diff line number Diff line change 100
100
"invariant" : " ^2.0.0" ,
101
101
"lodash" : " ^4.2.0" ,
102
102
"lodash-es" : " ^4.2.0" ,
103
- "loose-envify" : " ^1.1.0"
103
+ "loose-envify" : " ^1.1.0" ,
104
+ "prop-types" : " ^15.0.0"
104
105
},
105
106
"peerDependencies" : {
106
107
"react" : " ^0.14.0 || ^15.0.0-0 || ^16.0.0-0" ,
Original file line number Diff line number Diff line change 1
- import { Component , PropTypes , Children } from 'react'
1
+ import { Component , Children } from 'react'
2
+ import PropTypes from 'prop-types'
2
3
import { storeShape , subscriptionShape } from '../utils/PropTypes'
3
4
import warning from '../utils/warning'
4
5
Original file line number Diff line number Diff line change 1
- import { PropTypes } from 'react '
1
+ import PropTypes from 'prop-types '
2
2
3
3
export const subscriptionShape = PropTypes . shape ( {
4
4
trySubscribe : PropTypes . func . isRequired ,
You can’t perform that action at this time.
0 commit comments