# ShapesSectionProps

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

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

## Signature

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

## Properties

### draw

```ts
readonly draw: UseDraw;
```

The drawing state from `useDraw`.

### 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, so the sheet can focus it.

## See also

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

Source: [packages/map/src/panels/ShapesSection/ShapesSection.tsx:35](https://github.com/MapCairn/mapcairn/blob/main/packages/map/src/panels/ShapesSection/ShapesSection.tsx#L35)
