TanStack
Key hold & held keys API Reference

useHotkeyHint

ts
function useHotkeyHint(hotkey, options?): boolean;

Defined in: useHotkeyHint.ts:6

Reports whether held modifiers reveal a shortcut hint.

Parameters

hotkey

RegisterableHotkey

options?

HeldModifierOptions

Returns

boolean