@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.
27 lines (19 loc) • 573 B
Flow
// @flow
/*
DOCUMENTATION: https://orbit.kiwi/components/list/
*/
import * as React from "react";
import typeof ListItemType from "./ListItem";
import type { Globals } from "../common/common.js.flow";
import type { spaceAfter } from "../common/getSpacingToken";
export type Size = "small" | "normal" | "large";
export type Type = "primary" | "secondary";
export type Props = {|
+children: React.Node,
+size?: Size,
+type?: Type,
...Globals,
...spaceAfter,
|};
declare export default React.ComponentType<Props>;
declare export var ListItem: ListItemType;