Common props to all components

Hierarchy

Properties

key?: Key

Uinique key to identiy elments when iterating arrays

onMouseDown?: Callback

triggered on mouse down event

onMouseUp?: Callback

triggered on mouse up event

uiBackground?: UiBackgroundProps

To define a background color or image

uiTransform?: UiTransformProps

Layout component, to position things in the canvas