# ExportSectionProps

Props for [`ExportSection`](https://docs.mapcairn.com/api/map/ExportSection.md).

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

## Signature

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

## Properties

### credits

```ts
readonly credits?: string;
```

The credits drawn along the bottom of the saved image, such as the
basemap's and those of the layers that are on (see `creditsLine`).

### drawing

```ts
readonly drawing?: MapImageDrawing;
```

Shapes drawn over the map, put into the image because the engine does not hold them.

### headingLevel

```ts
readonly headingLevel?: HeadingLevel;
```

The heading level. Defaults to 3, below the sheet's h2 title.

### headingRef

```ts
readonly headingRef?: Ref<HTMLHeadingElement>;
```

Receives the heading element, so the sheet can move focus to the section it opens on.

## See also

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

Source: [packages/map/src/panels/ExportSection/ExportSection.tsx:18](https://github.com/MapCairn/mapcairn/blob/main/packages/map/src/panels/ExportSection/ExportSection.tsx#L18)
