@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) • 728 B
Flow
// @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 | LeftToRight;
export type Translate3d = (value: string) => ({| ...ThemeProps |}) => string;
declare export var rtlSpacing: RtlSpacing;
declare export var left;
declare export var right;
declare export var borderRadius: BorderRadius;
declare export var textAlign: TextAlign;
declare export var translate3d: Translate3d;