Skip to main content

undo

The functionality is available in PRO Edition only

PRO

Description

Optional. Enables executing the undo and redo actions

Usage

undo?: boolean;

Parameters

  • true - allows executing the undo and redo actions
  • false (default) - the ability to call the undo and redo actions is disabled

Example

import { getData } from "./common/data";
import { Gantt } from "@svar/react-gantt";

const { tasks } = getData();

export default function App() {
return <Gantt tasks={tasks} undo />;
}