UNPKG

@antdv/pro-utils

Version:

@antdv/pro-utils

34 lines (33 loc) 908 B
export declare const MediaQueryEnum: { xs: { maxWidth: number; matchMedia: string; }; sm: { minWidth: number; maxWidth: number; matchMedia: string; }; md: { minWidth: number; maxWidth: number; matchMedia: string; }; lg: { minWidth: number; maxWidth: number; matchMedia: string; }; xl: { minWidth: number; maxWidth: number; matchMedia: string; }; xxl: { minWidth: number; matchMedia: string; }; }; export type MediaQueryKey = keyof typeof MediaQueryEnum; export declare function getScreenClassName(): "xs" | "sm" | "md" | "lg" | "xl" | "xxl" | undefined; export declare function useBreakpoint(): Readonly<import("vue").Ref<"xs" | "sm" | "md" | "lg" | "xl" | "xxl" | undefined, "xs" | "sm" | "md" | "lg" | "xl" | "xxl" | undefined>>;