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: 01 August, 2025