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