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.

31 lines (27 loc) 689 B
// Type definitions for @kiwicom/orbit-components // Project: http://github.com/kiwicom/orbit import type * as React from "react"; import type { Carrier } from "../CarrierLogo/types"; import type * as Common from "../common/types"; export type Type = | "neutral" | "dark" | "info" | "success" | "warning" | "critical" | "white" | "infoSubtle" | "criticalSubtle" | "successSubtle" | "warningSubtle" | "bundleBasic" | "bundleMedium" | "bundleTop"; export interface Props extends Common.Globals { readonly children?: React.ReactNode; readonly type?: Type; readonly carriers?: Carrier[]; readonly icon?: React.ReactNode; readonly ariaLabel?: string; }