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.

25 lines (18 loc) 560 B
// @flow /* DOCUMENTATION: https://orbit.kiwi/components/list/ */ import typeof ListItemType from "./ListItem"; import type { Globals } from "../common/common.js.flow"; import type { spaceAfter } from "../common/getSpacingToken/index"; export type Size = "small" | "normal" | "large"; export type Type = "primary" | "secondary" | "separated"; export type Props = {| +children: React$Node, +size?: Size, +type?: Type, ...Globals, ...spaceAfter, |}; declare export default React$ComponentType<Props>; declare export var ListItem: ListItemType;