DrawToolbarProps
Props for DrawToolbar.
This is an interface exported by @mapcairn/map, checked against version 0.2.0.
Signature
import type { DrawToolbarProps } from "@mapcairn/map";
interface DrawToolbarProps
Properties
draw
readonly draw: UseDraw;
The drawing state from useDraw.
onDone
readonly onDone: () => void;
Called by "Done".
onOpenShapes
readonly onOpenShapes: () => void;
Called by "Shapes and export", which opens the list of shapes in the sheet.
See also
Source: packages/map/src/tools/DrawToolbar/DrawToolbar.tsx:40