ToolbarItemUtilities.createForTool Function
Creates an action item from the specified tool type.
createForTool(toolType: Tool, overrides?: Partial<ToolbarActionItem>): ToolbarActionItem
| Parameter | Type | Description |
|---|---|---|
| toolType | Tool | |
| overrides | Partial<ToolbarActionItem> |
Returns - ToolbarActionItem
Defined in
Last Updated: 14 October, 2025
Found something wrong, missing, or unclear on this page? Raise an issue in our repo.