Loading...
Element operations' undo and redo
The <History />
component can only be used within the <XFlow />
component to function properly.
Import the History
component, and in conjunction with useHistory, you can quickly implement undo and redo functionality for element operations.
<XFlow>...<History color="#F2F7FA" /></XFlow>