SettingsTreeNodeActionItem
type SettingsTreeNodeActionItem = {
type: 'action';
id: string;
label: string;
icon?: SettingsIcon;
tooltip?: string;
};
SettingsTreeNodeActionItem represents an action item in a node action menu.
Properties
type
type: 'action';
The type of the action item.
id
id: string;
The unique identifier for the action.
label
label: string;
The label displayed for the action.
icon?
optional icon: SettingsIcon;
The icon to display for the action.
tooltip?
optional tooltip: string;
The tooltip to display when hovering over the action.