Skip to content

Commit 4d1f714

Browse files
committed
tutorial for undo and redo added
1 parent 39415ca commit 4d1f714

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

app/src/tutorial/Canvas.tsx

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ import React from 'react';
33
//images
44
import canvas1 from '../../../resources/canvas_tutorial_images/canvas1.png';
55
import drag1 from '../../../resources/canvas_tutorial_images/drag1.png';
6+
import undoRedo from '../../../resources/canvas_tutorial_images/undoRedo.gif';
67

78
const Canvas: React.FC<{
89
classes: any;
@@ -29,6 +30,12 @@ const Canvas: React.FC<{
2930
<p className={classes.text}>Select a <span className={classes.notLink} onClick={() => setPage('Reusable_Components')} >reusable component</span>, click and hold to drag on to a page.<br/>
3031
Drag the selected item on to the center canvas.</p>
3132
<hr/>
33+
<h1 className={classes.title}>Undo and Redo</h1>
34+
<p className={classes.text}> The undo functionality is implemented to revert the user's last action. Redo will reperform the user's last undid action.
35+
</p>
36+
<div className={classes.imgWrapper}>
37+
<img src={undoRedo}/>
38+
</div>
3239
<h1 className={classes.title}>Keyboard Shortcuts</h1>
3340
<h2 className={classes.text}>Mac</h2>
3441
<ul className={classes.text}>
629 KB
Loading

0 commit comments

Comments
 (0)