StatusText
Status label with a leading dot, for run states, health, and lifecycle information in tables, toolbars, and detail panels.
Props
StatusText renders a <span> containing an automatic dot and text.
| Prop | Type | Default | Description |
|---|---|---|---|
tone | StatusTone | — | "ok" | "warn" | "err" | "idle" | "prov" | "dim". |
children | ReactNode | — | The label text. |
className | string | — | Forwarded to the span. |
style | CSSProperties | — | Forwarded to the span. |
Examples
All tones
import { StatusText } from "@solarius/onset";
import type { StatusTextProps, StatusTone } from "@solarius/onset";