2019-01-16 23:31:47 +03:00
|
|
|
/**
|
2021-12-31 02:08:43 +03:00
|
|
|
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
2019-01-16 23:31:47 +03:00
|
|
|
*
|
|
|
|
* This source code is licensed under the MIT license found in the
|
|
|
|
* LICENSE file in the root directory of this source tree.
|
|
|
|
*
|
|
|
|
* @format
|
2019-06-14 13:10:54 +03:00
|
|
|
* @flow strict-local
|
2019-01-16 23:31:47 +03:00
|
|
|
*/
|
|
|
|
|
2019-05-08 18:44:25 +03:00
|
|
|
import type {ViewProps} from '../View/ViewPropTypes';
|
2019-06-14 13:10:54 +03:00
|
|
|
|
|
|
|
import codegenNativeComponent from '../../Utilities/codegenNativeComponent';
|
2019-09-25 21:42:07 +03:00
|
|
|
import type {HostComponent} from '../../Renderer/shims/ReactNativeTypes';
|
2019-01-16 23:31:47 +03:00
|
|
|
|
|
|
|
type NativeProps = $ReadOnly<{|
|
|
|
|
...ViewProps,
|
|
|
|
|
2022-05-16 19:27:43 +03:00
|
|
|
// No props
|
2019-06-14 13:10:54 +03:00
|
|
|
|}>;
|
2019-01-16 23:31:47 +03:00
|
|
|
|
2019-10-04 17:05:49 +03:00
|
|
|
export default (codegenNativeComponent<NativeProps>('SafeAreaView', {
|
|
|
|
paperComponentName: 'RCTSafeAreaView',
|
|
|
|
interfaceOnly: true,
|
|
|
|
}): HostComponent<NativeProps>);
|