Function: StateBadge()¶ StateBadge(props): Element Render an INDI state as a coloured badge (Idle/Ok/Busy/Alert). Parameters¶ props¶ StateBadgeProps The state and optional class name. Returns¶ Element The badge element.