@react-native-ohos/masked-view
Version:
React Native MaskedView component
18 lines (13 loc) • 583 B
JavaScript
// Copyright (c) 2024 Huawei Device Co., Ltd. All rights reserved
// Use of this source code is governed by a MIT license that can be
// found in the LICENSE file.
// @flow
import codegenNativeComponent from 'react-native/Libraries/Utilities/codegenNativeComponent';
import type { ViewProps } from 'react-native/Libraries/Components/View/ViewPropTypes';
import type { HostComponent } from 'react-native';
type NativeProps = $ReadOnly<{|
...ViewProps,
|}>;
export default (codegenNativeComponent<NativeProps>(
'RNCMaskedView',
): HostComponent<NativeProps>);