Files
react-native/Libraries/Components/SafeAreaView/RCTSafeAreaViewNativeComponent.js
T
Rubén Norte 5689302a6a Add RTCSafeAreaView
Summary: Adds codegen component for RTCSafeAreaView(NativeComponent).

Reviewed By: rickhanlonii

Differential Revision: D15804215

fbshipit-source-id: 103312aecb35029d05412b70829dbe4668ba7768
2019-06-14 03:16:54 -07:00

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');