UNPKG

@smart-react-components/ui

Version:
10 lines (9 loc) 363 B
import { Theme } from '@smart-react-components/core/theme'; /** * Gets the breakpoint value according to the given breakpoints and the window size. * Breakpoints are given as an array from small to large - [xs, sm, md, lg, xl] */ export declare const getBreakpointValue: (xProps: number[], yProps: number[], theme: Theme) => { x: number; y: number; };