Skip to content

Commit 3e736a8

Browse files
Added undo/redo action buttons (#18)
1 parent 887917d commit 3e736a8

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

src/x-759224-menu-builder-uic/components/alpha-menu-editor.js

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,22 @@ const view = () => {
1212
{/*
1313
* append-to-meta is used to differentiate which now-button was clicked as they all use the same action
1414
*/}
15+
<now-button
16+
label=""
17+
variant="primary"
18+
size="md"
19+
icon="undo-top-fill"
20+
tooltip-content="Undo"
21+
append-to-meta={{ elementId: "undo" }}
22+
></now-button>
23+
<now-button
24+
label=""
25+
variant="primary"
26+
size="md"
27+
icon="redo-top-fill"
28+
tooltip-content="Redo"
29+
append-to-meta={{ elementId: "redo" }}
30+
></now-button>
1531
<now-button
1632
label="Action"
1733
variant="primary"

0 commit comments

Comments
 (0)