Skip to main content

Interface: ToolbarProps

Props for Toolbar component.

See

Toolbar

Properties

PropertyTypeDescription

children

ReactNode

Toolbar panel content, in a form of ToolbarAction or other elements.

dock

DockDirection

Dock direction on the canvas viewport.

dockOffsetX?

number

Horizontal offset from the dock direction.

Default

0

dockOffsetY?

number

Vertical offset from the dock direction.

Default

0

menu?

ReactNode

Main menu content, in a form of ToolbarAction elements.

If not specified or null, the menu toggle button will be hidden.