TaskCanvasTabs
This component renders the task canvas tabs.
Component children#
Key | Component | Condition | Align | Description |
---|---|---|---|---|
outbound | ConnectingOutboundCallCanvas | Visible only if task is pending and is an outbound call | Tab for outbound call tasks. Displays the ConnectingOutboundCallCanvas component | |
incoming | React component | Visible only if task is pending and is not an outbound call | Tab for incoming voice tasks. Displays the IncomingTaskCanvas component. The tab label is the TaskTabAgentIncomingLabel template | |
call | React component | Visible only if task is a voice task and is not pending | Tab for voice tasks. Displays the CallCanvas component | |
chat | React component | Visible only if task is chat task and is not pending | Tab for chat tasks. Displays the MessagingCanvas component | |
info | React component | Tab for task info. Displays TaskInfoPanel component. The tab label is the TaskTabAgentInfoLabel template |
Static Properties#
Name | Type | Description |
---|---|---|
Content | DynamicContentStore<TaskCanvasTabs.TaskCanvasTabsChildrenProps, TaskCanvasTabsChildrenKeys> | Dynamic content store |
Component Children Properties#
Name | Type | Description | Optional | Default |
---|---|---|---|---|
hasMarkdownSupport | boolean | Whether markdown feature is enabled or not | Yes | |
selectedTabName | string | Selected tab name. | Yes | |
theme.TaskCanvas | TaskCanvasThemeProps | Theme | 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 |
Rate this page