# HotkeyRecorderState

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

Defined in: [hotkey-recorder.ts:115](https://github.com/TanStack/hotkeys/blob/main/packages/hotkeys/src/hotkey-recorder.ts#L115)

State interface for the HotkeyRecorder. Adapters narrow `THotkey` to the
kind their recorder records.

## Type Parameters

### THotkey

`THotkey` *extends* [`Hotkey`](../type-aliases/Hotkey.md) = [`Hotkey`](../type-aliases/Hotkey.md)

## Properties

### isRecording

```ts
isRecording: boolean;
```

Defined in: [hotkey-recorder.ts:117](https://github.com/TanStack/hotkeys/blob/main/packages/hotkeys/src/hotkey-recorder.ts#L117)

Whether recording is currently active

***

### recordedHotkey

```ts
recordedHotkey: THotkey | null;
```

Defined in: [hotkey-recorder.ts:121](https://github.com/TanStack/hotkeys/blob/main/packages/hotkeys/src/hotkey-recorder.ts#L121)

The last committed hotkey: a chord, or a sequence of two or more steps

***

### steps

```ts
steps: HotkeySequence;
```

Defined in: [hotkey-recorder.ts:119](https://github.com/TanStack/hotkeys/blob/main/packages/hotkeys/src/hotkey-recorder.ts#L119)

Chords recorded so far in a multi-step recording (empty for `maxSteps: 1`)
