Skip to content

Function: StateDot()

StateDot(props): Element

Render an INDI state as a bare coloured dot, for use beside its own label.

Decorative: the state is named in text next to it, because colour alone would be unreadable to anyone who cannot separate the Busy and Alert hues.

Parameters

props

StateDotProps

The state and an optional class name.

Returns

Element

The dot element.