DotNaos UI

Toolbar

Canvas Toolbar from the Canvas package.

Source code

Waiting for the preview before loading source files · 2 of 2

Properties

Public properties derived from the component’s TypeScript signature.

PropertyTypeDefault
canRedoOptional
boolean
false
canUndoOptional
boolean
false
colorRequired
string
onColorChangeOptional
((color: string) => void)
onExportOptional
(() => void)
onRedoOptional
(() => void)
onSizeChangeOptional
((size: number) => void)
onToolChangeOptional
((tool: CanvasTool) => void)
onUndoOptional
(() => void)
sizeOptional
number
5
toolRequired
"text" | "ellipse" | "line" | "cursor" | "eraser" | "highlighter" | "pen" | "pan" | "rectangle" | "arrow"