# DrawHistoryEntry

One undo step: the shapes and the selection as they were.

This is an interface exported by `@mapcairn/core`, checked against version 0.2.0.

## Signature

```ts
import type { DrawHistoryEntry } from "@mapcairn/core";
 
interface DrawHistoryEntry
```

## Properties

### selection

```ts
readonly selection: DrawSelection | null;
```

The selection as it was.

### shapes

```ts
readonly shapes: readonly DrawShape[];
```

The shapes as they were.

## See also

- [`DrawSelection`](https://docs.mapcairn.com/api/core/DrawSelection.md)
- [`DrawShape`](https://docs.mapcairn.com/api/core/DrawShape.md)

Source: [packages/core/src/draw/reducer.ts:72](https://github.com/MapCairn/mapcairn/blob/main/packages/core/src/draw/reducer.ts#L72)
