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.

19 lines (15 loc) 526 B
import type * as React from "react"; import type * as Common from "../../common/types"; export type Status = "warning" | "critical" | "info" | "success" | "neutral"; export interface Props extends Common.SpaceAfter { readonly actionable?: boolean; /** Type of the status */ readonly type: Status; /** Label of the status */ readonly label?: React.ReactNode; /** Offset for the label text */ /** default: 0 */ readonly offset?: number; /** Content of the status */ readonly children: React.ReactNode; }