@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.
36 lines (30 loc) • 796 B
TypeScript
// Type definitions for @kiwicom/orbit-components
// Project: http://github.com/kiwicom/orbit
import * as React from "react";
import { Carrier } from "../CarrierLogo";
import * as Common from "../common/common";
export type Type =
| "neutral"
| "dark"
| "info"
| "success"
| "warning"
| "critical"
| "white"
| "infoInverted"
| "criticalInverted"
| "successInverted"
| "warningInverted"
| "bundleBasic"
| "bundleMedium"
| "bundleTop";
export interface Props extends Common.Global {
readonly children?: React.ReactNode;
readonly type?: Type;
readonly border?: boolean;
readonly carriers?: Carrier[];
readonly icon?: React.ReactNode;
readonly ariaLabel?: string;
}
declare const Badge: React.FunctionComponent<Props>;
export { Badge, Badge as default };