Moved undo and redo into tool settings and implemented it for fog
This commit is contained in:
14
src/components/map/controls/RedoButton.js
Normal file
14
src/components/map/controls/RedoButton.js
Normal file
@@ -0,0 +1,14 @@
|
||||
import React from "react";
|
||||
import { IconButton } from "theme-ui";
|
||||
|
||||
import RedoIcon from "../../../icons/RedoIcon";
|
||||
|
||||
function RedoButton({ onClick, disabled }) {
|
||||
return (
|
||||
<IconButton onClick={onClick} disabled={disabled}>
|
||||
<RedoIcon />
|
||||
</IconButton>
|
||||
);
|
||||
}
|
||||
|
||||
export default RedoButton;
|
||||
Reference in New Issue
Block a user