@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.
27 lines (15 loc) • 843 B
Flow
// @flow
import type { ThemeProps } from "../../defaultTheme.js.flow";
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: "start" | "end" | "left" | "right" | "center",
) => ({ ...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;