File tree 2 files changed +5
-2
lines changed
2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change 61
61
"mocha" : " ^3.0.0" ,
62
62
"phantomjs-polyfill" : " 0.0.2" ,
63
63
"phantomjs-prebuilt" : " ^2.1.9" ,
64
+ "prop-types" : " ^15.5.0" ,
64
65
"purecss" : " ^0.6.0" ,
65
66
"react" : " ^15.2.1" ,
66
67
"react-addons-test-utils" : " ^15.3.0" ,
75
76
"webpack-merge" : " ^0.14.0"
76
77
},
77
78
"peerDependencies" : {
79
+ "prop-types" : " >= 15.5.0" ,
78
80
"react" : " >= 0.11.2 < 16.0.0" ,
79
81
"react-dom" : " >= 0.11.2 < 16.0.0"
80
82
},
Original file line number Diff line number Diff line change 1
- import React , { PropTypes } from 'react' ;
1
+ import React from 'react' ;
2
2
import ReactDOM from 'react-dom' ;
3
+ import PropTypes from 'prop-types' ;
3
4
4
5
export default class Tooltip extends React . Component {
5
6
static propTypes = {
@@ -127,4 +128,4 @@ export default class Tooltip extends React.Component {
127
128
</ div >
128
129
)
129
130
}
130
- }
131
+ }
You can’t perform that action at this time.
0 commit comments