UNPKG

react-native-ui-lib

Version:

<p align="center"> <img src="https://user-images.githubusercontent.com/1780255/105469025-56759000-5ca0-11eb-993d-3568c1fd54f4.png" height="250px" style="display:block"/> </p> <p align="center">UI Toolset & Components Library for React Native</p> <p a

39 lines (38 loc) 1.16 kB
export declare enum orientations { PORTRAIT = "portrait", LANDSCAPE = "landscape" } export declare function updateConstants(dimensions: any): void; declare const constants: { orientations: typeof orientations; isAndroid: boolean; isIOS: boolean; getAndroidVersion: () => number | undefined; readonly statusBarHeight: number; isRTL: boolean; readonly orientation: orientations; readonly isLandscape: boolean; readonly screenWidth: number; readonly screenHeight: number; readonly windowWidth: number; readonly windowHeight: number; readonly isSmallScreen: boolean; readonly isShortScreen: boolean; readonly screenAspectRatio: number; isTablet: boolean; getSafeAreaInsets: () => { left: number; right: number; bottom: number; top: number; }; readonly isIphoneX: boolean; addDimensionsEventListener: (callback: any) => void; removeDimensionsEventListener: (callback: any) => void; readonly accessibility: { isScreenReaderEnabled: boolean; }; backspaceKey: string; enterKey: string; }; export default constants;