Description of icon
Flex UI
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
Rate this page

Need some help?

We all do sometimes; code is hard. Get help now from our support team, or lean on the wisdom of the crowd by visiting Twilio's Stack Overflow Collective or browsing the Twilio tag on Stack Overflow.