UNPKG

@kiwicom/orbit-components

Version:

<div align="center"> <a href="https://orbit.kiwi" target="_blank"> <img alt="orbit-components" src="https://orbit.kiwi/wp-content/uploads/2018/08/orbit-components.png" srcset="https://orbit.kiwi/wp-content/uploads/2018/08/orbit-components@2x.png 2x"

46 lines (38 loc) 809 B
// @flow import type { spaceAfter } from "../common/getSpacingToken/index"; type Direction = "row" | "column"; type Align = "start" | "end" | "center" | "even"; type Spacing = | "extraTight" | "tight" | "condensed" | "compact" | "natural" | "comfy" | "loose" | "extraLoose"; type Desktop = {| +inline?: boolean, +direction?: Direction, +wrap?: boolean, +grow?: boolean, +shrink?: boolean, +basis?: string, +align?: Align, +spacing?: Spacing, ...spaceAfter, |}; export type Props = {| +inline?: boolean, +direction?: Direction, +wrap?: boolean, +grow?: boolean, +shrink?: boolean, +basis?: string, +align?: Align, +spacing?: Spacing, +desktop?: Desktop, +children: React$Node, ...spaceAfter, |}; declare export default React$ComponentType<Props>;