@nodeject/ui-components
Version:
UI library for non-trivial components
25 lines (24 loc) • 622 B
TypeScript
export interface Widths {
bigScreen?: number;
laptopMaxWidth?: number;
mobileLandscape?: number;
tabletMaxWidth?: number;
tabletMinWidthLandscape?: number;
tabletMinWidthPortrait?: number;
}
export declare const useMediaQueries: () => {
isBigScreen: any;
isDesktop: any;
isDesktopOrLaptop: any;
isLandscape: any;
isLaptop: any;
isMobile: any;
isMobileLandscape: any;
isMobilePortrait: any;
isPortrait: any;
isRetina: any;
isTablet: any;
isTabletLandscape: any;
isTabletLandscapeAtLeast: any;
isTabletPortrait: any;
};