Skip to main content

SettingsTreeNodeActionItem

type SettingsTreeNodeActionItem = object;

An action included in the action menu for a settings node.

Properties

type

type: "action";

id

id: string;

A unique idenfier for the action.


label

label: string;

A descriptive label for the action.


icon?

optional icon: SettingsIcon;

Optional icon to display with the action.


display?

optional display: "menu" | "inline";

Specifies whether the item is rendered as an inline action or as an item in the context menu. Defaults to "menu" if not specified. Inline items will be rendered as an icon only if their icon is specified.