MCPcopy Create free account
hub / github.com/TanStack/hotkeys / useHeldKeyCodes

Function useHeldKeyCodes

packages/react-hotkeys/src/useHeldKeyCodes.ts:30–33  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

28 * ```
29 */
30export function useHeldKeyCodes(): Record<string, string> {
31 const tracker = getKeyStateTracker()
32 return useSelector(tracker.store, (state) => state.heldCodes)
33}

Callers 1

AppFunction · 0.90

Calls 1

getKeyStateTrackerFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…