@kiwicom/orbit-components
Version:
Orbit-components is a React component library which provides developers with the easiest possible way of building Kiwi.com's products.
20 lines • 951 B
TypeScript
import type { Theme } from "../../defaultTheme";
export type Devices = "largeDesktop" | "desktop" | "tablet" | "largeMobile" | "mediumMobile" | "smallMobile";
export declare enum QUERIES {
MEDIUMMOBILE = "mediumMobile",
LARGEMOBILE = "largeMobile",
TABLET = "tablet",
DESKTOP = "desktop",
LARGEDESKTOP = "largeDesktop"
}
export declare const TOKEN: {
readonly mediumMobile: "breakpointMediumMobile";
readonly largeMobile: "breakpointLargeMobile";
readonly tablet: "breakpointTablet";
readonly desktop: "breakpointDesktop";
readonly largeDesktop: "breakpointLargeDesktop";
};
export declare function getBreakpointWidth(name: keyof typeof TOKEN, theme: Theme): string;
export declare function getBreakpointWidth(name: keyof typeof TOKEN, theme: Theme, pure: false): string;
export declare function getBreakpointWidth(name: keyof typeof TOKEN, theme: Theme, pure: true): number;
//# sourceMappingURL=index.d.ts.map