@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.
14 lines (8 loc) • 500 B
TypeScript
import type { ThemeProps } from "../../defaultTheme";
export type LeftToRight = (left: string, right: string) => (theme: ThemeProps) => string;
export type RtlSpacing = (value: string) => (theme: ThemeProps) => string;
export type BorderRadius = (value: string) => (theme: ThemeProps) => string;
export type TextAlign = (
value: "start" | "end" | "left" | "right" | "center",
) => (theme: ThemeProps) => string;
export type Translate3d = (value: string) => (themeProps: ThemeProps) => string;