@dfinity/gix-components
Version:
A UI kit developed by the GIX team
12 lines (11 loc) • 456 B
TypeScript
export declare const isPortrait: () => boolean;
export declare const isIOS: () => boolean;
export declare const isIPad: () => boolean;
export declare const isAndroid: () => boolean;
export declare const isAndroidTablet: () => boolean;
/**
* Current loophole (Feb 2024):
* - Firefox used on a desktop with touch screen will be identified as a mobile device.
*/
export declare const isMobile: () => boolean;
export declare const isDesktop: () => boolean;