Type alias SettingsTreeNodeActionItem

SettingsTreeNodeActionItem: {
    display?: "menu" | "inline";
    icon?: SettingsIcon;
    id: string;
    label: string;
    type: "action";
}

Type declaration

  • 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.

  • Optional icon?: SettingsIcon

    Optional icon to display with the action.

  • id: string

    A unique idenfier for the action.

  • label: string

    A descriptive label for the action.

  • type: "action"