Home > @uniformdev/design-system > useShortcut
useShortcut() function
Signature:
Parameters
<table><thead><tr><th>
Parameter
</th><th>
Type
</th><th>
Description
</th></tr></thead> <tbody><tr><td>
{ handler, shortcut, macShortcut, doNotPreventDefault, activeWhenEditing, }
</td><td>
</td><td>
</td></tr> </tbody></table> Returns:
React$1.MutableRefObject<react_hotkeys_hook_dist_types.RefType<HTMLElement>>