# EndStackDirections

The Directions button, shown only when the host offers directions.

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

## Signature

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

## Properties

### active

```ts
readonly active: boolean;
```

The directions panel is open.

### controls

```ts
readonly controls: string;
```

The id of the sheet or panel that Directions opens.

### onToggle

```ts
readonly onToggle: () => void;
```

Opens the directions panel, or closes it when `active`.

Source: [packages/map/src/chrome/EndStack/EndStack.tsx:26](https://github.com/MapCairn/mapcairn/blob/main/packages/map/src/chrome/EndStack/EndStack.tsx#L26)
