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 | Description | Type |
---|---|---|
Content | Dynamic content store | DynamicContentStore.<MessageCanvasTray.MessageCanvasTrayProps> |
defaultProps | Default properties | MessageCanvasTray.MessageCanvasTrayProps |
Component Properties
showButton?: boolean
Display a ‘Start new chat’ button in the tray.
onButtonClick?: function
A handler for a ‘Start new chat’ button click.