# TourStep

One step of a tour, as data. The host writes the words.

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

## Signature

```ts
import type { TourStep } from "@mapcairn/map";
 
interface TourStep
```

## Properties

### advance

```ts
readonly advance: TourAdvance;
```

What the person does to finish the step.

### heading

```ts
readonly heading: DefinitionText;
```

A message key or plain text, read in the active language where the card and the announcement show it.

### id

```ts
readonly id: string;
```

A stable id, for the host's own wiring (for example "layers").

### side

```ts
readonly side?: "start" | "end";
```

In the panel layout, which side the card sits against. Defaults to start.

### target

```ts
readonly target?: FocusName;
```

The registered control to ring while the step is current, if any.

### text

```ts
readonly text: DefinitionText;
```

As `heading`.

## See also

- [`TourAdvance`](https://docs.mapcairn.com/api/core/TourAdvance.md)
- [`DefinitionText`](https://docs.mapcairn.com/api/core/DefinitionText.md)
- [`FocusName`](https://docs.mapcairn.com/api/map/FocusName.md)

Source: [packages/map/src/tools/Tour/useTour.ts:21](https://github.com/MapCairn/mapcairn/blob/main/packages/map/src/tools/Tour/useTour.ts#L21)
