GT2/Ejectable/node_modules/react-native-safe-area-context/lib/module/InitialWindow.native.js

9 lines
535 B
JavaScript
Raw Normal View History

2021-08-16 00:14:59 +00:00
import { UIManager } from 'react-native';
const RNCSafeAreaProviderConfig = UIManager.getViewManagerConfig('RNCSafeAreaProvider');
export const initialWindowMetrics = RNCSafeAreaProviderConfig != null && RNCSafeAreaProviderConfig.Constants != null ? RNCSafeAreaProviderConfig.Constants.initialWindowMetrics : null;
/**
* @deprecated
*/
export const initialWindowSafeAreaInsets = initialWindowMetrics === null || initialWindowMetrics === void 0 ? void 0 : initialWindowMetrics.insets;
//# sourceMappingURL=InitialWindow.native.js.map