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.

31 lines (26 loc) 720 B
// @flow /* DOCUMENTATION: https://orbit.kiwi/components/separator/ */ import * as React from "react"; import type { spaceAfter } from "../common/getSpacingToken/index.js.flow"; import type { Globals } from "../common/common.js.flow"; type Preset = "List" | "Image" | "Card" | "Button" | "Text"; export type Props = {| +animate?: boolean, +children?: React.Node, +preset?: Preset, +rowBorderRadius?: number, +color?: string, +rowHeight?: number, +rowOffset?: number, +rows?: number, +title?: string, +viewBox?: string, +width?: number | string, +height?: number | string, +maxHeight?: number | string, ...spaceAfter, ...Globals, |}; declare export default React.ComponentType<Props>;