@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 (10 loc) • 601 B
TypeScript
// Type definitions for @kiwicom/orbit-components
// Project: http://github.com/kiwicom/orbit
import type { Interpolation } from "styled-components";
import { ThemeShape } from "../../defaultTheme";
import { Devices } from "./consts";
declare module "@kiwicom/orbit-components/lib/utils/mediaQuery";
type QueryFunction = (style: Interpolation<any>) => Interpolation<any>;
declare const MediaQuery: { [key in Devices]: QueryFunction };
declare const getBreakpointWidth: (name: string, theme: ThemeShape, pure?: boolean) => string;
export { MediaQuery, MediaQuery as default, getBreakpointWidth };