Hotkey
function exported by @mwillbanks/tuil-hotkeys.
function
Public function exported by @mwillbanks/tuil-hotkeys.
export function Hotkey(
props: Omit<HotkeyBinding, "handler"> & {
readonly onTrigger: HotkeyBinding["handler"];
},
): null;Members
This declaration has no public members.
Parameters
| Member | Type | Required | Description | Related types |
|---|---|---|---|---|
props | Omit<HotkeyBinding, "handler"> & { readonly onTrigger: HotkeyBinding["handler"]; } | Yes | Supplies the props value as Omit<HotkeyBinding, "handler"> & { readonly onTrigger: HotkeyBinding["handler"]; }. | HotkeyBinding |
Returns
null — Returns a value that satisfies null.
Related types: —
Throws
No thrown errors are documented for this declaration.
Related types
Source
View the secondary source reference