A running item.

interface IRunningItem {
    children?: IRunningItem[];
    className?: string;
    context?: string;
    detail?: () => string;
    icon: () => string | LabIcon;
    label: () => ReactNode;
    labelTitle?: () => string;
    open?: () => void;
    shutdown?: () => void;
}

Implemented by

Properties

children?: IRunningItem[]

Optional child nodes that belong to a top-level running item.

className?: string

Optional CSS class name to add to the running item.

context?: string

Optional context hint to add to the data-context attribute of an item.

detail?: () => string

Called to determine the detail attribute, which is shown optionally in a column after the label.

icon: () => string | LabIcon

The LabIcon to use as the icon for the running item or the string src URL.

label: () => ReactNode

Called to determine the label for each item.

labelTitle?: () => string

Called to determine the title attribute for each item, which is revealed on hover.

open?: () => void

Called when the running item is clicked.

shutdown?: () => void

Called when the shutdown button is pressed on a particular item.