# useHotkeysContext

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

```ts
function useHotkeysContext(): 
  | HotkeysContextValue<HotkeysProviderOptions>
  | null;
```

Defined in: [HotkeysProvider.tsx:195](https://github.com/TanStack/hotkeys/blob/main/packages/solid-hotkeys/src/HotkeysProvider.tsx#L195)

## Returns

  \| `HotkeysContextValue`\<[`HotkeysProviderOptions`](../interfaces/HotkeysProviderOptions.md)\>
  \| `null`
