Files
react-native/Libraries/Components/MaskedView/RCTMaskedViewNativeComponent.js
T
Cameron Bourke 6c5ddb027d make RCTMaskedView use generated view config
Summary:
### View Configs

(iOS only component)

Moving component `RCTMaskedViewNativeComponent` to use `generated view configs` instead of `requireNativeComponent`

 ---

### View Manager Migration List

Reviewed By: rickhanlonii

Differential Revision: D15822020

fbshipit-source-id: 9a4380fb5544ad69581c8aa3a3b2669503dd5141
2019-06-14 07:01:11 -07:00

19 lines
468 B
JavaScript

/**
* 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.
*
* @format
* @flow
*/
import type {ViewProps} from '../View/ViewPropTypes';
import codegenNativeComponent from '../../Utilities/codegenNativeComponent';
type NativeProps = $ReadOnly<{|
...ViewProps,
|}>;
export default codegenNativeComponent<NativeProps>('RCTMaskedView');