draftOf
The shape that is still being drawn, or null.
This is a function exported by @mapcairn/core, checked against version 0.2.0.
Signature
import { draftOf } from "@mapcairn/core";
function draftOf(state: DrawState): DrawShape | null;
Parameters
state(DrawState)
Returns
DrawShape | null