@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.
19 lines (14 loc) • 484 B
Flow
// @flow
import ListItem from "./ListItem";
import type { Globals } from "../common/common.js.flow";
import type { spaceAfter } from "../common/getSpacingToken/index";
export type Size = "small" | "normal" | "large";
type Type = "primary" | "secondary";
export type Props = {|
+children: Array<React$Element<typeof ListItem>> | React$Element<typeof ListItem>,
+size?: Size,
+type?: Type,
...Globals,
...spaceAfter,
|};
declare export default React$ComponentType<Props>;