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.

23 lines (15 loc) 558 B
// @flow import type { Interpolation } from "styled-components"; import type { Theme } from "../../defaultTheme"; export type Devices = | "largeDesktop" | "desktop" | "tablet" | "largeMobile" | "mediumMobile" | "smallMobile"; 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;