UNPKG

@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.

24 lines (17 loc) 609 B
// Type definitions for @kiwicom/orbit-components // Project: http://github.com/kiwicom/orbit import * as React from "react"; import * as Common from "../common/common"; type Size = "small" | "medium" | "large"; export interface Carrier { code: string; name: string; type?: "airline" | "bus" | "train" | "ferry" | "private_transfer" | "kiwicom"; } export interface Props extends Common.Global { readonly size?: Size; readonly rounded?: boolean; readonly carriers: Common.Carrier[]; } declare const CarrierLogo: React.FunctionComponent<Props>; export { CarrierLogo, CarrierLogo as default };