Ran PropTypes -> prop-types codemod
Reviewed By: gaearon Differential Revision: D5453511 fbshipit-source-id: 6abe3dfa6d8cf70cc49ce2b6a7d3e94679398c5e
This commit is contained in:
parent
dcd5ace645
commit
c2c97ae4b1
|
@ -10,12 +10,13 @@
|
||||||
* @flow
|
* @flow
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
const PropTypes = require('prop-types');
|
||||||
const React = require('React');
|
const React = require('React');
|
||||||
const StyleSheet = require('StyleSheet');
|
const StyleSheet = require('StyleSheet');
|
||||||
const View = require('View');
|
const View = require('View');
|
||||||
const ViewPropTypes = require('ViewPropTypes');
|
const ViewPropTypes = require('ViewPropTypes');
|
||||||
const requireNativeComponent = require('requireNativeComponent');
|
const requireNativeComponent = require('requireNativeComponent');
|
||||||
const ReactPropTypes = React.PropTypes;
|
const ReactPropTypes = PropTypes;
|
||||||
|
|
||||||
import type { ViewProps } from 'ViewPropTypes';
|
import type { ViewProps } from 'ViewPropTypes';
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue