Description of icon
API Reference

NoTasksCanvas

This component renders a canvas if no tasks are available. Can be themed with Theme.NoTasksCanvas in Theme.


Component children#

KeyComponentConditionAlignDescription
second-linestyled(div)
Wrapper for the second line. Displays NoTasks template
hintstyled(div)
Wrapper for availability status of worker. Displays NoTasksHintAvailable template is worker is available or NoTasksHintNotAvailable template if not
avatarReact component
Avatar of the worker. Displays avatar from worker.attributes.image_url prop
namestyled(div)
Worker name

Static Properties#

NameTypeDescription
ContentDynamicContentStore<NoTasksCanvas.NoTasksCanvasChildrenProps, NoTaskCanvasChildrenKeys>

Dynamic content store

Component Children Properties#

NameTypeDescriptionOptionalDefault
theme.NoTasksCanvasNoTasksCanvasThemeProps

Theme

Yes
workerWorkerState

current worker.

Yes