UNPKG

@kiwicom/orbit-components

Version:

Orbit-components is a React component library which provides developers with the easiest possible way of building Kiwi.com’s products.

16 lines (9 loc) 474 B
// @flow import type { Interpolation } from "styled-components"; import type { Devices } from "./consts"; import type { Theme } from "../../defaultTheme"; type QueryFunction = (style: Interpolation[]) => Interpolation[]; export type MediaQueries = { [key: Devices]: QueryFunction }; export type GetBreakpointWidth = (name: string, theme: Theme, pure?: boolean) => string; declare export default MediaQueries; declare export var getBreakpointWidth: GetBreakpointWidth;