Skip to content

Commit c9cdc49

Browse files
committed
feat(editor): add undo redo icons to editor - I204
Signed-off-by: Dharma Teja <dteja2468@gmail.com>
1 parent 5747094 commit c9cdc49

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

src/editors/editorsContainer/AgreementData.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@ function AgreementData() {
2929
<div style={{ display: "flex", alignItems: "center", justifyContent: "space-between" }}>
3030
<h3 style={{ color: textColor }}>Data</h3>
3131
<div>
32-
<FaUndo onClick={undo} style={{ cursor: "pointer", color: textColor, marginRight: "8px" }} />
33-
<FaRedo onClick={redo} style={{ cursor: "pointer", color: textColor }} />
32+
<FaUndo onClick={undo} title="Undo" style={{ cursor: "pointer", color: textColor, marginRight: "8px" }} />
33+
<FaRedo onClick={redo} title="Redo" style={{ cursor: "pointer", color: textColor }} />
3434
</div>
3535
</div>
3636
<p style={{ color: textColor }}>

src/editors/editorsContainer/TemplateMarkdown.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@ function TemplateMarkdown() {
3030
<div style={{ display: "flex", alignItems: "center", justifyContent: "space-between" }}>
3131
<h3 style={{ color: textColor }}>TemplateMark</h3>
3232
<div>
33-
<FaUndo onClick={undo} style={{ cursor: "pointer", color: textColor, marginRight: "8px" }} />
34-
<FaRedo onClick={redo} style={{ cursor: "pointer", color: textColor }} />
33+
<FaUndo onClick={undo} title="Undo" style={{ cursor: "pointer", color: textColor, marginRight: "8px" }} />
34+
<FaRedo onClick={redo} title="Redo" style={{ cursor: "pointer", color: textColor }} />
3535
</div>
3636
</div>
3737
<p style={{ color: textColor }}>

src/editors/editorsContainer/TemplateModel.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@ function TemplateModel() {
2929
<div className="tooltip" style={{ display: "flex", alignItems: "center", justifyContent: "space-between" }}>
3030
<h3 style={{ color: textColor }}>Concerto Model</h3>
3131
<div>
32-
<FaUndo onClick={undo} style={{ cursor: "pointer", color: textColor, marginRight: "8px" }} />
33-
<FaRedo onClick={redo} style={{ cursor: "pointer", color: textColor }} />
32+
<FaUndo onClick={undo} title="Undo" style={{ cursor: "pointer", color: textColor, marginRight: "8px" }} />
33+
<FaRedo onClick={redo} title="Redo" style={{ cursor: "pointer", color: textColor }} />
3434
</div>
3535
</div>
3636
<span style={{ color: textColor }} className="tooltiptext">

0 commit comments

Comments
 (0)