ShapesSectionProps
Props for ShapesSection.
This is an interface exported by @mapcairn/map, checked against version 0.2.0.
Signature
import type { ShapesSectionProps } from "@mapcairn/map";
interface ShapesSectionProps
Properties
draw
readonly draw: UseDraw;
The drawing state from useDraw.
headingLevel
readonly headingLevel?: HeadingLevel;
The heading level. Defaults to 3, below the sheet's h2 title.
headingRef
readonly headingRef?: Ref<HTMLHeadingElement>;
Receives the heading, so the sheet can focus it.
See also
Source: packages/map/src/panels/ShapesSection/ShapesSection.tsx:35