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.

30 lines (24 loc) 639 B
// Type definitions for @kiwicom/orbit-components // Project: http://github.com/kiwicom/orbit import * as React from "react"; import * as Common from "../common/common"; export type Type = | "neutral" | "dark" | "info" | "success" | "warning" | "critical" | "white" | "infoInverted" | "criticalInverted" | "successInverted" | "warningInverted"; export interface Props extends Common.Global { readonly children?: React.ReactNode; readonly type?: Type; readonly icon?: React.ReactNode; readonly ariaLabel?: string; } declare const Badge: React.FunctionComponent<Props>; export { Badge, Badge as default };