Added erase all back in
This commit is contained in:
@@ -3,10 +3,14 @@ import { Flex, IconButton } from "theme-ui";
|
||||
|
||||
import EraseAllIcon from "../../../icons/EraseAllIcon";
|
||||
|
||||
function EraseToolSettings({ onEraseAll }) {
|
||||
function EraseToolSettings({ onToolAction }) {
|
||||
return (
|
||||
<Flex sx={{ alignItems: "center" }}>
|
||||
<IconButton aria-label="Erase All" title="Erase All" onClick={onEraseAll}>
|
||||
<IconButton
|
||||
aria-label="Erase All"
|
||||
title="Erase All"
|
||||
onClick={() => onToolAction("eraseAll")}
|
||||
>
|
||||
<EraseAllIcon />
|
||||
</IconButton>
|
||||
</Flex>
|
||||
|
||||
Reference in New Issue
Block a user