Moved undo and redo into tool settings and implemented it for fog

This commit is contained in:
Mitchell McCaffrey
2020-04-30 09:29:16 +10:00
parent ccaa51fe84
commit 88b4785307
9 changed files with 202 additions and 102 deletions
+14
View File
@@ -0,0 +1,14 @@
import React from "react";
import { IconButton } from "theme-ui";
import UndoIcon from "../../../icons/UndoIcon";
function UndoButton({ onClick, disabled }) {
return (
<IconButton onClick={onClick} disabled={disabled}>
<UndoIcon />
</IconButton>
);
}
export default UndoButton;