Represents an action that is displayed in the UI

Type Parameters

Hierarchy

  • Action

Properties

command: T

The command to execute when the action is activated

condition?: Condition<unknown>

Condition to determine if the action is available

description?: string

Additional description about the action

disabled?: boolean

True if the action is disabled

icon?: string | Icon

Icon of the action

label?: string

Label to display on or next to the action. The label will be translated by the Translator