@smart-react-components/ui
Version:
SRC UI includes React and Styled components.
10 lines (9 loc) • 363 B
TypeScript
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;
};