@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.
21 lines (16 loc) • 555 B
TypeScript
// Type definitions for @kiwicom/orbit-components
// Project: http://github.com/kiwicom/orbit
import type * as Common from "../common/types";
export type Size = "small" | "medium" | "large";
export type CarrierType = "airline" | "bus" | "train" | "ferry" | "private_transfer" | "kiwicom";
export interface Carrier {
code: string;
name: string;
type?: CarrierType;
}
export interface Props extends Common.Globals {
readonly size?: Size;
readonly rounded?: boolean;
readonly carriers: Common.Carrier[];
readonly inlineStacked?: boolean;
}