@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.
22 lines (17 loc) • 678 B
TypeScript
// Type definitions for @kiwicom/orbit-components
// Project: http://github.com/kiwicom/orbit
import { SharedProps } from "..";
type Align = "left" | "center" | "right";
type As = "th" | "td";
type Scope = "col" | "row" | "colgroup" | "rowgroup";
type WhiteSpace = "normal" | "nowrap" | "pre" | "pre-line" | "pre-wrap";
type VerticalAlign = "baseline" | "middle" | "top" | "bottom";
interface Props extends SharedProps {
readonly as?: As;
readonly scope?: Scope;
readonly align?: Align;
readonly whiteSpace?: WhiteSpace;
readonly verticalAlign?: VerticalAlign;
}
declare const TableCell: React.FunctionComponent<Props>;
export { TableCell, TableCell as default };