@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.
29 lines (24 loc) • 897 B
Flow
// @flow
/*
DOCUMENTATION: https://orbit.kiwi/components/table/
*/
import * as React from "react";
import type { Globals } from "../common/common.js.flow";
import typeof TableBodyType from "./TableBody/index.js.flow";
import typeof TableCellType from "./TableCell/index.js.flow";
import typeof TableHeadType from "./TableHead/index.js.flow";
import typeof TableRowType from "./TableRow/index.js.flow";
import typeof TableFooterType from "./TableFooter/index.js.flow";
export type Props = {|
+type?: "primary" | "secondary",
+striped?: boolean,
+compact?: boolean,
+children: React.Node,
...Globals,
|};
declare export default React.ComponentType<Props>;
declare export var TableBody: TableBodyType;
declare export var TableCell: TableCellType;
declare export var TableHead: TableHeadType;
declare export var TableRow: TableRowType;
declare export var TableFooter: TableFooterType;