mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
5689302a6a
Summary: Adds codegen component for RTCSafeAreaView(NativeComponent). Reviewed By: rickhanlonii Differential Revision: D15804215 fbshipit-source-id: 103312aecb35029d05412b70829dbe4668ba7768
26 lines
626 B
JavaScript
26 lines
626 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 strict-local
|
|
*/
|
|
|
|
'use strict';
|
|
|
|
import type {ViewProps} from '../View/ViewPropTypes';
|
|
import type {WithDefault} from '../../Types/CodegenTypes';
|
|
|
|
import codegenNativeComponent from '../../Utilities/codegenNativeComponent';
|
|
|
|
type NativeProps = $ReadOnly<{|
|
|
...ViewProps,
|
|
|
|
// Props
|
|
emulateUnlessSupported?: WithDefault<boolean, false>,
|
|
|}>;
|
|
|
|
export default codegenNativeComponent<NativeProps>('RCTSafeAreaView');
|