diff --git a/src/components/MapControls.js b/src/components/MapControls.js index 36b82d6..d6c2a07 100644 --- a/src/components/MapControls.js +++ b/src/components/MapControls.js @@ -1,5 +1,5 @@ import React, { useState } from "react"; -import { Flex, Box, IconButton, Button, Label } from "theme-ui"; +import { Flex, Box, IconButton, Label } from "theme-ui"; import AddMapButton from "./AddMapButton"; import ExpandMoreIcon from "../icons/ExpandMoreIcon"; @@ -14,6 +14,7 @@ import GridOffIcon from "../icons/GridOffIcon"; import colors, { colorOptions } from "../helpers/colors"; import MapMenu from "./MapMenu"; +import EraseAllIcon from "../icons/EraseAllIcon"; function MapControls({ onMapChange, @@ -100,16 +101,28 @@ function MapControls({ ), erase: ( - - + ), }; diff --git a/src/icons/EraseAllIcon.js b/src/icons/EraseAllIcon.js new file mode 100644 index 0000000..d5e66a9 --- /dev/null +++ b/src/icons/EraseAllIcon.js @@ -0,0 +1,18 @@ +import React from "react"; + +function EraseAllIcon() { + return ( + + + + + ); +} + +export default EraseAllIcon;