Skip to main content

Interface: StatusLightProps

Defined in: components/StatusLight/StatusLight.tsx:40

Props for the StatusLight component.

Extends​

  • Omit<React.HTMLAttributes<HTMLSpanElement>, "style" | "className">

Properties​

children?​

optional children?: ReactNode

Defined in: components/StatusLight/StatusLight.tsx:57

The badge label.

Overrides​

Omit.children


evaluation?​

optional evaluation?: "primary" | "accent" | "positive" | "caution" | "negative"

Defined in: components/StatusLight/StatusLight.tsx:49

Feedback valence the badge communicates. primary is neutral-informational; positive/caution/negative carry status colour.

Default​

'primary'

numeric?​

optional numeric?: StatusLightNumeric

Defined in: components/StatusLight/StatusLight.tsx:55

Numeric figure style. tabular renders tabular-nums so digits line up — use it for ratios/counts inside a scannable column.

Default​

'normal'