@threadplane/chatFunctionv0.3.4

statusColor

Returns a CSS style string for a subagent's status badge. Kept exported for backward compatibility with existing consumers; the preferred way to style status visually is via the data-status attribute

  • CSS selectors (see component styles below).
import { statusColor } from '@threadplane/chat';

Declaration · overload 1

export declare function statusColor(status: SubagentStatus): string;

Parameters

status · required
SubagentStatus

Returns

string