mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
6c5ddb027d
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
19 lines
468 B
JavaScript
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');
|