@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.
26 lines (20 loc) • 706 B
Flow
// @flow
import * as React from "react";
import type { ReactComponentStyled } from "styled-components";
import type { Globals } from "../../common/common.js.flow";
type Align = "left" | "center" | "right";
type As = "th" | "td";
type Scope = "col" | "row" | "colgroup" | "rowgroup";
type WhiteSpace = "nowrap" | "pre" | "pre-line" | "pre-wrap";
type VerticalAlign = "baseline" | "middle" | "top" | "bottom";
export type Props = {|
+children?: React.Node,
+align?: Align,
+as?: As,
+scope?: Scope,
+whiteSpace?: WhiteSpace,
+verticalAlign?: VerticalAlign,
...Globals,
|};
declare export default React.ComponentType<Props>;
declare export var StyledTableCell: ReactComponentStyled<Props>;