You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: packages/documentation/docs/documentation/useHotkeys/basic-usage.mdx
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -169,7 +169,7 @@ function ExampleComponent() {
169
169
In the example above, the user has to press the `g` key, then the `h` key and finally the `i` key in order to trigger the callback.
170
170
171
171
#### Timeout
172
-
`useHotykes` sets a default time window for the sequential hotkey of `1000ms` to prevent listening for incomplete sequences indefinitely. If the user doesn't press the next key in that given time, the sequence is aborted.
172
+
`useHotkeys` sets a default time window for the sequential hotkey of `1000ms` to prevent listening for incomplete sequences indefinitely. If the user doesn't press the next key in that given time, the sequence is aborted.
173
173
174
174
We can override the timeout by passing the `sequenceTimeoutMs` option:
0 commit comments