@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.
16 lines (11 loc) • 475 B
TypeScript
// Type definitions for @kiwicom/orbit-components
// Project: http://github.com/kiwicom/orbit
import type React from "react";
import type * as Common from "../../common/types";
export type Size = "extraSmall" | "small" | "medium" | "large" | "display";
export interface Props extends Common.Globals, Common.SpaceAfter {
readonly size?: Size;
readonly name: string;
readonly margin?: React.CSSProperties["margin"] | Common.ObjectProperty;
readonly alt?: string;
}