File tree Expand file tree Collapse file tree 3 files changed +6
-3
lines changed Expand file tree Collapse file tree 3 files changed +6
-3
lines changed Original file line number Diff line number Diff line change 1
1
import invariant from 'invariant'
2
- import React , { PropTypes } from 'react'
2
+ import React from 'react'
3
+ import PropTypes from 'prop-types'
3
4
4
5
const createBroadcast = ( initialState ) => {
5
6
let listeners = [ ]
Original file line number Diff line number Diff line change 1
1
import invariant from 'invariant'
2
- import React , { PropTypes } from 'react'
2
+ import React from 'react'
3
+ import PropTypes from 'prop-types'
3
4
4
5
/**
5
6
* A <Subscriber> pulls the value for a channel off of context.broadcasts
Original file line number Diff line number Diff line change 19
19
"lint" : " eslint modules"
20
20
},
21
21
"dependencies" : {
22
- "invariant" : " ^2.2.1"
22
+ "invariant" : " ^2.2.1" ,
23
+ "prop-types" : " ^15.5.6"
23
24
},
24
25
"peerDependencies" : {
25
26
"react" : " 15.x"
You can’t perform that action at this time.
0 commit comments