Skip to main content

history

Enables local undo/redo history for event additions, updates, moves, and deletions. With the default toolbar, enabling this prop also adds Undo and Redo controls. External data replacement clears history. Pro only.

The functionality is available in PRO Edition only

PRO

Usage

history?: boolean;

Default: false.

Example

import { Calendar } from "@svar-ui/react-calendar";

<Calendar events={events} date={date} history={true} />
  • Undo and Redo — how history tracking, coalescing, and the toolbar controls work.
  • undo / redo — the actions that restore tracked snapshots.