UNPKG

@stihl-design-system/components

Version:

Welcome to the STIHL Design System react component library.

13 lines (12 loc) 412 B
export type BreakpointCustomizable<T> = T | BreakpointValues<T>; export type BreakpointValue = string | number | boolean; export type BreakpointValues<T> = { [key in Breakpoint]?: T; } & { base: T; }; export declare const breakpointMap: { [key in Breakpoint]: number; }; export declare const breakpoints: readonly ["base", "s", "m", "l", "xl"]; export type Breakpoint = (typeof breakpoints)[number];