File tree 3 files changed +5
-2
lines changed
3 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -27,6 +27,7 @@ as of release version 2.1.0.
27
27
- Don't react on hover when disabled
28
28
- Fix issue with broken React ref
29
29
- Fix lint errors
30
+ - Don't use deprecated ` React.PropTypes ` API
30
31
31
32
32
33
## [ 2.1.1] - 2016-07-13
Original file line number Diff line number Diff line change 61
61
},
62
62
"peerDependencies" : {
63
63
"react" : " ^15.3.0" ,
64
- "react-dom" : " ^15.3.0"
64
+ "react-dom" : " ^15.3.0" ,
65
+ "prop-types" : " ^15.3.0"
65
66
}
66
67
}
Original file line number Diff line number Diff line change 1
- import React , { PureComponent , PropTypes } from 'react'
1
+ import React , { PureComponent } from 'react'
2
2
import classNames from 'classnames'
3
+ import PropTypes from 'prop-types'
3
4
import Check from './check'
4
5
import X from './x'
5
6
import { pointerCoord } from './util'
You can’t perform that action at this time.
0 commit comments