UNPKG

typestyle-extensions

Version:

A useful collection of typestyle extensions and helper functions to make working with TypeStyle even more pleasant

13 lines (12 loc) 511 B
import { NestedCSSProperties } from 'typestyle/lib/types'; export interface IBreakpoints { sm: number; md: number; lg: number; xl: number; } declare type BreakpointSize = keyof IBreakpoints; export declare function setBreakpointSizes(breakpointSizes: IBreakpoints): void; export declare function widthDown(size: BreakpointSize, styles: NestedCSSProperties): NestedCSSProperties; export declare function widthUp(size: BreakpointSize, styles: NestedCSSProperties): NestedCSSProperties; export {};