# DrawFeedback

The outcome of an export or a copy, shown beside the buttons and announced.

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

## Signature

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

## Properties

### kind

```ts
readonly kind: "success" | "error";
```

Whether the outcome is a success or an error.

### readAs

```ts
readonly readAs?: WktAxisOrder;
```

Set on an import that read nothing because the file fits only this
other WKT axis order: the order that [`UseDraw`](https://docs.mapcairn.com/api/map/UseDraw-interface.md) reads
the same file in.

### text

```ts
readonly text: string;
```

The message shown beside the buttons and announced.

## See also

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

Source: [packages/map/src/tools/DrawToolbar/useDraw.ts:109](https://github.com/MapCairn/mapcairn/blob/main/packages/map/src/tools/DrawToolbar/useDraw.ts#L109)
