UNPKG

react-native-safe-area-context

Version:

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

10 lines (8 loc) 602 B
var _NativeSafeAreaContex; import NativeSafeAreaContext from './specs/NativeSafeAreaContext'; export const initialWindowMetrics = (NativeSafeAreaContext === null || NativeSafeAreaContext === void 0 ? void 0 : (_NativeSafeAreaContex = NativeSafeAreaContext.getConstants()) === null || _NativeSafeAreaContex === void 0 ? void 0 : _NativeSafeAreaContex.initialWindowMetrics) ?? null; /** * @deprecated */ export const initialWindowSafeAreaInsets = initialWindowMetrics === null || initialWindowMetrics === void 0 ? void 0 : initialWindowMetrics.insets; //# sourceMappingURL=InitialWindow.native.js.map