Components

TaskListItem

<TaskListItem {...TaskListItem.TaskListItemProps} />

This is a container for TaskListItem.

Members

DynamicContentStore.<TaskListItem.TaskListItemChildrenProps>

# static readonly Content

Dynamic content store
TaskListItem.TaskListItemProps

# static readonly defaultProps

Default properties

Type Definitions

TaskListItem.TaskListItemProps | TaskContextProps

# TaskListItemChildrenProps

Properties of TaskListItem.
Properties:
Name Type Attributes Description
Badge Object <optional>
Set of properties for internal Badge element customisable by TaskChannel

# TaskListItemProps

Properties of TaskListItem.
Properties:
Name Type Attributes Description
visible boolean <optional>
Whether the task list item is visible or not.
selected boolean <optional>
Whether the task list item is selected or not.
selectedTaskSid string <optional>
Sid of the selected task.
onSelected function <optional>
Callback when the task is selected.
icon string | React.ReactNode <optional>
Task list item icon.
iconColor string <optional>
Icon color.
actions Array.<React.ReactElement.<any>> <optional>
Override default accept or reject actions.
firstLine React.ReactNode <optional>
First line displayed in the task list item.
secondLine React.ReactNode <optional>
Second line displayed in the task list item.
extraInfo React.ReactNode <optional>
Additional info displayed in the task list item.
large boolean <optional>
Whether the item is large or not. If true, the lower area is displayed.
itemSize TaskListItem.TaskListItemSize <optional>
Task list item size.
children DynamicComponentChildren.<TaskListItem.TaskListItemChildrenProps> <optional>
children
"Small" | "Large" | "LargeSelected"

# TaskListItemSize

The size of the task