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.

38 lines (37 loc) 905 B
import type { Theme } from "../../defaultTheme"; export declare enum DIRECTIONS { ROW = "row", COLUMN = "column", ROWREVERSE = "row-reverse", COLUMNREVERSE = "column-reverse" } export declare enum ALIGNS { START = "start", END = "end", CENTER = "center", STRETCH = "stretch", BASELINE = "baseline" } export declare enum JUSTIFY { START = "start", END = "end", CENTER = "center", BETWEEN = "between", AROUND = "around" } export declare enum SPACINGS { NONE = "none", XXXSMALL = "XXXSmall", XXSMALL = "XXSmall", XSMALL = "XSmall", SMALL = "small", MEDIUM = "medium", LARGE = "large", XLARGE = "XLarge", XXLARGE = "XXLarge", XXXLARGE = "XXXLarge" } declare const TokenNames: SPACINGS[]; type Tokens = (typeof TokenNames)[number]; export declare const TOKENS: (theme: Theme) => Record<Tokens, string>; export {};