Moved undo and redo into tool settings and implemented it for fog
This commit is contained in:
@@ -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;
|
||||
Reference in New Issue
Block a user