@devlander/styled-components-theme
Version:
Devlander's team utilizes this package during the development of their React Native projects. Its primary purpose is to facilitate code reuse by sharing types across multiple projects that uses the styled-components library.
7 lines (6 loc) • 403 B
TypeScript
export declare function isIphoneX(): boolean;
export declare function ifIphoneX<T>(iphoneXStyle: T, regularStyle: T): T;
export declare function getStatusBarHeight(safe: boolean): number;
export declare function getBottomSpace(): number;
export declare function RFPercentageNative(percent: number): number;
export declare function RFValueNative(fontSize: number, standardScreenHeight?: number): number;