File tree Expand file tree Collapse file tree 4 files changed +8
-4
lines changed Expand file tree Collapse file tree 4 files changed +8
-4
lines changed Original file line number Diff line number Diff line change 48
48
"dependencies" : {
49
49
"babel-runtime" : " ^6.11.6" ,
50
50
"invariant" : " ^2.2.1" ,
51
- "lodash" : " ^4.12.0"
51
+ "lodash" : " ^4.12.0" ,
52
+ "prop-types" : " ^15.5.6"
52
53
},
53
54
"peerDependencies" : {
54
55
"react" : " ^0.14.0 || ^15.0.0" ,
Original file line number Diff line number Diff line change 1
- import React , { Component , PropTypes } from 'react' ;
1
+ import React , { Component } from 'react' ;
2
+ import PropTypes from 'prop-types' ;
2
3
import ReactDOM from 'react-dom' ;
3
4
import { storiesOf } from '@kadira/storybook' ;
4
5
import style from './Storybook.scss' ;
Original file line number Diff line number Diff line change 1
- import React , { Component , PropTypes } from 'react' ;
1
+ import React , { Component } from 'react' ;
2
+ import PropTypes from 'prop-types' ;
2
3
import { findDOMNode } from 'react-dom' ;
3
4
import invariant from 'invariant' ;
4
5
Original file line number Diff line number Diff line change 1
- import React , { Component , PropTypes } from 'react' ;
1
+ import React , { Component } from 'react' ;
2
+ import PropTypes from 'prop-types' ;
2
3
import { findDOMNode } from 'react-dom' ;
3
4
import invariant from 'invariant' ;
4
5
You can’t perform that action at this time.
0 commit comments