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