Optional
containerA container inside which a shortcut is applied. By default, a shortcut is document-wide.
Optional
isIf true
then shortcut isn't captured.
Optional
onA handler that is called when all keys from a shortcut are pressed.
An array of keys that must be simultaneously pressed to call an action.
Props of the useKeyboardShortcut hook.