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) 455 B
// @flow import type { CSSRules } from "styled-components"; import type { Devices } from "./consts"; import type { Theme } from "../../defaultTheme"; type QueryFunction = (style: CSSRules) => CSSRules; 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;