Typescript

This commit is contained in:
Mitchell McCaffrey
2021-07-13 18:50:18 +10:00
parent 569ed696fc
commit 68c1c6db0c
10 changed files with 186 additions and 123 deletions
+3 -3
View File
@@ -255,9 +255,9 @@ function Map({
const mapDrawing = (
<MapDrawing
map={map}
shapes={drawShapes}
onShapeAdd={handleMapShapeAdd}
onShapesRemove={handleMapShapesRemove}
drawings={drawShapes}
onDrawingAdd={handleMapShapeAdd}
onDrawingsRemove={handleMapShapesRemove}
active={selectedToolId === "drawing"}
toolSettings={settings.drawing}
/>