AIQuickActionsGroupConfig
interface
A group of actions in the ai.quickActions.items
configuration.
{
id: 'length-and-tone',
label: 'Length and tone',
items: [ 'make-shorter', 'make-longer', 'make-tone-casual' ]
}Copy codeProperties
icon?: stringreadonlymodule:ai/aiquickactions/aiquickactions~AIQuickActionsGroupConfig#iconThe icon of the group in SVG string format. Defaults to the icon of the default group with the same ID or a generic icon.
id: stringreadonlymodule:ai/aiquickactions/aiquickactions~AIQuickActionsGroupConfig#idThe unique identifier of the group. Use the ID of a default group (for example
'translate') to rearrange its actions. The group is also available as a toolbar component under this ID.items?: Array<string>readonlymodule:ai/aiquickactions/aiquickactions~AIQuickActionsGroupConfig#itemsThe IDs of the actions in the group, in display order. Groups cannot be nested. Defaults to the actions of the default group with the same ID. For a new group, defaults to the extra commands that set it as their
group.label?: stringreadonlymodule:ai/aiquickactions/aiquickactions~AIQuickActionsGroupConfig#labelThe human-readable label of the group. Defaults to the label of the default group with the same ID.