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.

25 lines (13 loc) 801 B
// @flow import type { ThemeProps } from "../../defaultTheme"; export type LeftToRight = <T1, T2>(left: T1, right: T2) => ({ ...ThemeProps, ... }) => T1 | T2; export type RtlSpacing = (value: string) => ({ ...ThemeProps, ... }) => string; export type BorderRadius = (value: string) => ({ ...ThemeProps, ... }) => string; export type TextAlign = (value: "left" | "right") => ({ ...ThemeProps, ... }) => string; export type Translate3d = (value: string) => ({ ...ThemeProps, ... }) => string; declare export var rtlSpacing: RtlSpacing; declare export var left: ({ ...ThemeProps, ... }) => string; declare export var right: ({ ...ThemeProps, ... }) => string; declare export var borderRadius: BorderRadius; declare export var textAlign: TextAlign; declare export var translate3d: Translate3d;