mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-01-12 22:50:10 +08:00
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
This commit is contained in:
committed by
Facebook Github Bot
parent
8b895ca710
commit
0b3f99bf93
@@ -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;
|
||||
Reference in New Issue
Block a user