# useHotkeysContext

<!-- DO NOT EDIT: this page is autogenerated from the type comments -->

```ts
function useHotkeysContext(): HotkeysContextValue | null;
```

Defined in: [HotkeysProvider.tsx:196](https://github.com/TanStack/hotkeys/blob/main/packages/react-hotkeys/src/HotkeysProvider.tsx#L196)

## Returns

`HotkeysContextValue` \| `null`
