UNPKG

styled-components-breakpoint

Version:

Utility functions for creating breakpoints in `styled-components` 💅.

4 lines (3 loc) • 272 B
import { BreakpointMap, MapFunction } from './types'; import { DefaultTheme } from 'styled-components'; export declare const createMap: <B extends string | number | symbol>(breakpoints: BreakpointMap<B> | ((theme: DefaultTheme) => BreakpointMap<B>)) => MapFunction<B>;