mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-04-29 12:45:37 +08:00
Ran PropTypes -> prop-types codemod against Libraries/FBReactKit/js/react-native-github
Reviewed By: acdlite Differential Revision: D4876709 fbshipit-source-id: 3a5e92bfc74287b7a9054546c438580bed0147af
This commit is contained in:
committed by
Facebook Github Bot
parent
8085ceca6a
commit
6564edce5e
@@ -14,6 +14,8 @@
|
||||
const InteractionManager = require('InteractionManager');
|
||||
const React = require('React');
|
||||
|
||||
const PropTypes = require('prop-types');
|
||||
|
||||
const infoLog = require('infoLog');
|
||||
|
||||
const DEBUG = false;
|
||||
@@ -110,8 +112,8 @@ class Incremental extends React.Component<DefaultProps, Props, State> {
|
||||
};
|
||||
|
||||
static contextTypes = {
|
||||
incrementalGroup: React.PropTypes.object,
|
||||
incrementalGroupEnabled: React.PropTypes.bool,
|
||||
incrementalGroup: PropTypes.object,
|
||||
incrementalGroupEnabled: PropTypes.bool,
|
||||
};
|
||||
|
||||
constructor(props: Props, context: Context) {
|
||||
|
||||
Reference in New Issue
Block a user