MessageCanvasTray
A container used when the status of the channel is inactive.
Can be themed with Theme.Chat.MessageCanvasTray
in Theme.
Component children#
Key | Component | Condition | Align | Description |
---|---|---|---|---|
text | React component | Message canvas tray template. Displays MessageCanvasTrayContent template | ||
button | styled(button) | Visible only if showButton prop is true | Message canvas tray button to start a new chat. The button text is the MessageCanvasTrayButton template |
Static Properties#
Name | Type | Description |
---|---|---|
Content | DynamicContentStore<MessageCanvasTray.MessageCanvasTrayProps, MessageCanvasTrayChildrenKeys> | Dynamic content store |
defaultProps | MessageCanvasTray.MessageCanvasTrayProps | Default properties |
Component Properties#
Name | Type | Description | Optional | Default |
---|---|---|---|---|
showButton | boolean | Display a ‘Start new chat’ button in the tray. | Yes | true |
onButtonClick | function | A handler for a ‘Start new chat’ button click. | Yes |
Rate this page