NoTasksCanvas
This component renders a canvas if no tasks are available.
Can be themed with Theme.NoTasksCanvas in Theme.
Component children#
| Key | Component | Condition | Align | Description | 
|---|---|---|---|---|
| first-line | styled(div) | Wrapper for the first line. Displays `NoTasksTitle` template | ||
| second-line | styled(div) | Wrapper for the second line. Displays `NoTasks` template | ||
| hint | styled(div) | Wrapper for availabity status of worker. Displays `NoTasksHintAvailable` template is worker is available or `NoTasksHintNotAvailable` template if not | ||
| avatar | React component | Avatar of the worker. Displays avatar from `worker.attributes.image_url` prop | ||
| name | styled(div) | Worker name | ||
| availability | styled(Select) | Availability menu. Displays a menu with the list of the different activities available. Uses material ui Select component | 
Static Properties#
| Name | Description | Type | 
|---|---|---|
| Content | Dynamic content store | DynamicContentStore.<NoTasksCanvas.NoTasksCanvasChildrenProps> |