UNPKG

react-native-safe-area-context

Version:

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

24 lines (23 loc) 682 B
/// <reference types="react-native" /> import type { Double } from 'react-native/Libraries/Types/CodegenTypes'; import type { TurboModule } from 'react-native/Libraries/TurboModule/RCTExport'; export interface Spec extends TurboModule { getConstants: () => { initialWindowMetrics?: { insets: { top: Double; right: Double; bottom: Double; left: Double; }; frame: { x: Double; y: Double; width: Double; height: Double; }; }; }; } declare const _default: any; export default _default;