Components

MainContainer

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

This is a container for MainContainer. Can be themed with [theme.MainContainer]

Component children

These below are list of children
Key Condition Type Align Description
sidenav SideNav Container for the side navigation bar
outbound-dialer-panel Visible only when `showOutboundDialer` prop is true OutboundDialerPanel OutboundDialerPanel
content styled(div) Content container where all views are rendered
player-module-feature-guard Visible only if insights player feature is enabled React component Container for player module. Allows agent to see completed chat tasks and listen to call recordings

Members

DynamicContentStore.<MainContainer.MainContainerChildrenProps>

# static readonly Content

Dynamic content store
MainContainer.MainContainerProps

# static readonly defaultProps

Default properties

Type Definitions

MainContainer.MainContainerProps

# MainContainerChildrenProps

Properties of MainContainer.
Properties:
Name Type Attributes Description
activeView string <optional>
Represents the current active view.

# MainContainerProps

Properties of MainContainer.
Properties:
Name Type Attributes Default Description
keepSideNavOpen boolean <optional>
false Whether the SideNav preview panel should be always visible. Default is false, which makes the preview show only after the whole app is wide enough.
showNotificationBar boolean <optional>
true Whether notifications will be shown on the NotificationBar or not. If set to false, no notifications in NotificationBar will be shown.
showLiveCommsBar boolean <optional>
true Whether to display an incoming call bar for views different from Agent Desktop or not.
children DynamicComponentChildren.<MainContainer.MainContainerChildrenProps> <optional>
children