TaskCanvasHeader
This component renders the header of task canvas. Can be themed with [theme.TaskCanvasHeader]{@link TaskCanvasHeader.TaskCanvasHeaderThemeProps}
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.ReactNodeRepresents the icon.
titleTemplateCode?: stringRepresents title template code.
titleTemplateContext?: anyRepresents context for title templete.
secondLineTemplateCode?: stringRepresents second line template code.
secondLineTemplateContext?: anyRepresents context for second line templete.