Search
Loading...
Skip to content

Interface: CanvasMenuActionButton

Base interface for action buttons in the canvas menu. Contains common properties shared across all canvas menu button types.

  • onClick: Handler invoked when the button is clicked.
  • label: Optional label for the button.
  • icon: Optional icon name to display on the button.
  • variant: Optional style variant of the button, either ‘regular’ or ‘plain’.
  • isDisabled: Optional disabled property.
  • shortcut: Optional keyboard shortcut displayed alongside the action.

Extends#

Indexable#

[key: string]: unknown

Properties#

PropertyTypeOverridesInherited from
id"ly.img.flipX.canvasMenu""ly.img.flipY.canvasMenu"
onClick?() => voidPromise<void>-
label?string--
icon?string--
variant?"regular""plain"-
isDisabled?boolean--
shortcut?string--
key?string-OrderComponent.key