TaskCanvasHeader
This component renders the header of task canvas.
Can be themed with Theme.TaskCanvasHeader in Theme.
Component children#
| Key | Component | Condition | Align | Description | 
|---|---|---|---|---|
| icon | styled(div) | Visible only when an icon is provided as prop | A wrapper that displays the task icon | |
| header | styled(div) | The main header content. Contains title and activity status | ||
| actions | React component | A wrapper for the possible task actions | 
Static Properties#
| Name | Description | Type | 
|---|---|---|
| Content | Dynamic content store | DynamicContentStore.<TaskCanvasHeader.TaskCanvasHeaderProps> | 
| defaultProps | Default properties | TaskCanvasHeader.TaskCanvasHeaderProps | 
| Content | Dynamic content store | DynamicContentStore.<TaskContextProps> | 
Component Properties
- ActionsComponent?: React.ComponentType.<{task: ITask}>- Represents the actions component. 
- icon?: string | React.ReactNode- Represents the icon. 
- titleTemplateCode?: string- Represents title template code. 
- titleTemplateContext?: any- Represents context for title templete. 
- secondLineTemplateCode?: string- Represents second line template code. 
- secondLineTemplateContext?: any- Represents context for second line templete.