Components

MainContainer

<MainContainer {...MainContainer.MainContainerProps} />

This is a main container for the webchat. Can be themed with theme.MainContainer

Members

DynamicContentStore.<MainContainer.MainContainerChildrenProps>

# static readonly Content

Dynamic content store
MainContainer.MainContainerProps

# static readonly defaultProps

Default properties

Type Definitions

MainContainer.MainContainerProps

# MainContainerChildrenProps

Properties of Main container component.
Properties:
Name Type Attributes Description
engagementStage string <optional>
Represents the stage of the webchat.
channelSid string <optional>
Unique indentifier of the channel.
startEngagementOnInit boolean <optional>
Represents if the engagement should start on init..

# MainContainerProps

Properties of Main container component.
Properties:
Name Type Attributes Default Description
height string <optional>
"548px" Represents the height of the webchat container.
width string <optional>
"276px" Represents the width of the webchat container.
bottom string <optional>
"74px" Represents the bottom possition of the webchat container.
right string <optional>
"20px" Represents the right possition of the webchat container.
markdownSupport Object <optional>
Config object for Chat markdown support
children DynamicComponentChildren.<MainContainer.MainContainerChildrenProps> <optional>
children