1/** 2 * Copyright (c) Meta Platforms, Inc. and affiliates. 3 * 4 * This source code is licensed under the MIT license found in the 5 * LICENSE file in the root directory of this source tree. 6 * 7 * @format 8 */ 9 10import type * as React from 'react'; 11import {Constructor} from '../../../types/private/Utilities'; 12import {NativeMethods} from '../../../types/public/ReactNativeTypes'; 13import {ViewProps} from '../View/ViewPropTypes'; 14 15/** 16 * Renders nested content and automatically applies paddings reflect the portion of the view 17 * that is not covered by navigation bars, tab bars, toolbars, and other ancestor views. 18 * Moreover, and most importantly, Safe Area's paddings reflect physical limitation of the screen, 19 * such as rounded corners or camera notches (aka sensor housing area on iPhone X). 20 */ 21declare class SafeAreaViewComponent extends React.Component<ViewProps> {} 22declare const SafeAreaViewBase: Constructor<NativeMethods> & 23 typeof SafeAreaViewComponent; 24export class SafeAreaView extends SafeAreaViewBase {} 25