From 0b3f99bf936aee42f9300b5da48e23389ad00e28 Mon Sep 17 00:00:00 2001 From: Rick Hanlon Date: Fri, 29 Mar 2019 18:42:54 -0700 Subject: [PATCH] Move requireNativeComponent calls to standalone files Summary: Moves a number of requireNativeComponent calls to standalone files to support codegen Reviewed By: TheSavior Differential Revision: D14654018 fbshipit-source-id: 349b975cd3a99a9373b2b9b1a19aa311d7c36399 --- .../AndroidTextInputNativeComponent.js | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 Libraries/Components/TextInput/AndroidTextInputNativeComponent.js diff --git a/Libraries/Components/TextInput/AndroidTextInputNativeComponent.js b/Libraries/Components/TextInput/AndroidTextInputNativeComponent.js new file mode 100644 index 000000000..aa6b88ea8 --- /dev/null +++ b/Libraries/Components/TextInput/AndroidTextInputNativeComponent.js @@ -0,0 +1,19 @@ +/** + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + * + * @flow + * @format + */ + +'use strict'; + +import {requireNativeComponent} from 'react-native'; + +const AndroidTextInputNativeComponent = requireNativeComponent( + 'AndroidTextInput', +); + +export default AndroidTextInputNativeComponent;