UNPKG

react-native-safe-area-context

Version:

A flexible way to handle safe area, also works on Android and web.

8 lines (7 loc) 454 B
import * as React from 'react'; import type { NativeSafeAreaViewProps } from './SafeArea.types'; import NativeSafeAreaView from './specs/NativeSafeAreaView'; declare type NativeSafeAreaViewInstance = InstanceType<typeof NativeSafeAreaView>; export declare type SafeAreaViewProps = NativeSafeAreaViewProps; export declare const SafeAreaView: React.ForwardRefExoticComponent<SafeAreaViewProps & React.RefAttributes<NativeSafeAreaViewInstance>>; export {};