Skip to main content

Interface: ToolbarActionSaveProps

Props for ToolbarActionSave component.

See

ToolbarActionSave

Extends

Properties

PropertyTypeDescriptionInherited from

children?

ReactNode

Action content.

className?

string

Additional CSS class for the component.

Omit.className

mode

"layout" | "authoring"

Enable mode for the action:

  • layout - the action is enabled when there are unsaved changes to the diagram layout (when a command history is non-empty);
  • authoring - the action is enabled when graph authoring state is non-empty.

onSelect

() => void

Handler for the action.

title?

string

Title for the action button or menu item.

Omit.title