@freakycoder/react-native-helpers
Version:
All helpers in one; iPhone series support, dimensions helper, hasNotch helper, normalize text helper and text helpers for React Native with very easy use
11 lines (10 loc) • 393 B
TypeScript
/**
* This and hasNotch functions are the same,
* just want to make two functions with different names
* hasNotch is more accurate name
*/
declare const hasNotch: () => boolean;
declare const hasNotchOnly: () => boolean;
declare const hasDynamicIsland: () => boolean;
declare const getStatusBarHeight: () => number;
export { getStatusBarHeight, hasNotch, hasNotchOnly, hasDynamicIsland };