mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
JS: Format with Prettier v2.4.1 [3/n]
Summary: Changelog: [General][Internal] Reviewed By: zertosh Differential Revision: D31883447 fbshipit-source-id: cbbf85e4bf935096d242336f41bf0cc5d6f92359
This commit is contained in:
committed by
Facebook GitHub Bot
parent
4e587a1b7d
commit
77ecc7ede1
@@ -46,17 +46,17 @@ let RCTMultilineTextInputNativeCommands;
|
||||
|
||||
if (Platform.OS === 'android') {
|
||||
AndroidTextInput = require('./AndroidTextInputNativeComponent').default;
|
||||
AndroidTextInputCommands = require('./AndroidTextInputNativeComponent')
|
||||
.Commands;
|
||||
AndroidTextInputCommands =
|
||||
require('./AndroidTextInputNativeComponent').Commands;
|
||||
} else if (Platform.OS === 'ios') {
|
||||
RCTSinglelineTextInputView = require('./RCTSingelineTextInputNativeComponent')
|
||||
.default;
|
||||
RCTSinglelineTextInputNativeCommands = require('./RCTSingelineTextInputNativeComponent')
|
||||
.Commands;
|
||||
RCTMultilineTextInputView = require('./RCTMultilineTextInputNativeComponent')
|
||||
.default;
|
||||
RCTMultilineTextInputNativeCommands = require('./RCTMultilineTextInputNativeComponent')
|
||||
.Commands;
|
||||
RCTSinglelineTextInputView =
|
||||
require('./RCTSingelineTextInputNativeComponent').default;
|
||||
RCTSinglelineTextInputNativeCommands =
|
||||
require('./RCTSingelineTextInputNativeComponent').Commands;
|
||||
RCTMultilineTextInputView =
|
||||
require('./RCTMultilineTextInputNativeComponent').default;
|
||||
RCTMultilineTextInputNativeCommands =
|
||||
require('./RCTMultilineTextInputNativeComponent').Commands;
|
||||
}
|
||||
|
||||
export type ChangeEvent = SyntheticEvent<
|
||||
@@ -1245,7 +1245,8 @@ const ExportedForwardRef: React.AbstractComponent<
|
||||
* Switch to `deprecated-react-native-prop-types` for compatibility with future
|
||||
* releases. This is deprecated and will be removed in the future.
|
||||
*/
|
||||
ExportedForwardRef.propTypes = require('deprecated-react-native-prop-types').TextInputPropTypes;
|
||||
ExportedForwardRef.propTypes =
|
||||
require('deprecated-react-native-prop-types').TextInputPropTypes;
|
||||
|
||||
// $FlowFixMe[prop-missing]
|
||||
ExportedForwardRef.State = {
|
||||
|
||||
Reference in New Issue
Block a user