TaskListItem
This is a container for TaskListItem.
Static Properties#
Name | Type | Description |
---|---|---|
Content | DynamicContentStore<TaskListItem.TaskListItemChildrenProps> | Dynamic content store |
defaultProps | TaskListItem.TaskListItemProps | Default properties |
Component Properties#
Name | Type | Description | Optional | Default |
---|---|---|---|---|
visible | boolean | Whether the task list item is visible or not. | Yes | |
selected | boolean | Whether the task list item is selected or not. | Yes | |
selectedTaskSid | string | Sid of the selected task. | Yes | |
onSelected | function | Callback when the task is selected. | Yes | |
icon | string | React.ReactNode | Task list item icon. | Yes | |
iconColor | string | Icon color. | Yes | |
actions | Array<React.ReactElement.<any>> | Override default accept or reject actions. | Yes | |
firstLine | React.ReactNode | First line displayed in the task list item. | Yes | |
secondLine | React.ReactNode | Second line displayed in the task list item. | Yes | |
extraInfo | React.ReactNode | Additional info displayed in the task list item. | Yes | |
large | boolean | Whether the item is large or not. If true, the lower area is displayed. | Yes | |
itemSize | TaskListItemSize | Task list item size. | Yes | |
children | DynamicContentStore.DynamicComponentChildren<TaskListItemChildrenProps> | children | Yes |
Component Children Properties#
Name | Type | Description | Optional | Default |
---|---|---|---|---|
Badge | Object | Set of properties for internal Badge element customisable by TaskChannel | Yes | |
visible | boolean | Whether the task list item is visible or not. | Yes | |
selected | boolean | Whether the task list item is selected or not. | Yes | |
selectedTaskSid | string | Sid of the selected task. | Yes | |
onSelected | function | Callback when the task is selected. | Yes | |
icon | string | React.ReactNode | Task list item icon. | Yes | |
iconColor | string | Icon color. | Yes | |
actions | Array<React.ReactElement.<any>> | Override default accept or reject actions. | Yes | |
firstLine | React.ReactNode | First line displayed in the task list item. | Yes | |
secondLine | React.ReactNode | Second line displayed in the task list item. | Yes | |
extraInfo | React.ReactNode | Additional info displayed in the task list item. | Yes | |
large | boolean | Whether the item is large or not. If true, the lower area is displayed. | Yes | |
itemSize | TaskListItemSize | Task list item size. | Yes | |
children | DynamicContentStore.DynamicComponentChildren<TaskListItemChildrenProps> | children | Yes | |
task | ITask | Task. | Yes | |
call | Call | Call state of the task. | Yes | |
conference | ConferenceState | Conference state of the task. | Yes | |
channelDefinition | TaskChannelDefinition | Channel definition of the task. | Yes | |
conversation | ConversationState.ConversationState | Conversation state of the task. Present if task is chat-based. | Yes |