Description of icon
API Reference

MainContainer

This is a container for MainContainer. Can be themed with Theme.MainContainer in Theme.


Component children#

KeyComponentConditionAlignDescription
sidenavSideNav
Container for the side navigation bar
outbound-dialer-panelOutboundDialerPanel
Visible only when showOutboundDialer prop is true
OutboundDialerPanel
contentstyled(div)
Content container where all views are rendered

Static Properties#

NameTypeDescription
ContentDynamicContentStore<MainContainer.MainContainerChildrenProps, MainContainerChildrenKeys>

Dynamic content store

defaultPropsMainContainer.MainContainerProps

Default properties

Component Properties#

NameTypeDescriptionOptionalDefault
keepSideNavOpenboolean

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.

Yesfalse
showNotificationBarboolean

Whether notifications will be shown on the NotificationBar or not. If set to false, no notifications in NotificationBar will be shown.

Yestrue
showLiveCommsBarboolean

Whether to display an incoming call bar for views different from Agent Desktop or not.

Yestrue
childrenDynamicContentStore.DynamicComponentChildren<MainContainerChildrenProps>

children

Yes

Component Children Properties#

NameTypeDescriptionOptionalDefault
activeViewstring

Represents the current active view.

Yes
showOutboundDialerboolean

If outbound dialer should be shown

Yes
keepSideNavOpenboolean

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.

Yesfalse
showNotificationBarboolean

Whether notifications will be shown on the NotificationBar or not. If set to false, no notifications in NotificationBar will be shown.

Yestrue
showLiveCommsBarboolean

Whether to display an incoming call bar for views different from Agent Desktop or not.

Yestrue
childrenDynamicContentStore.DynamicComponentChildren<MainContainerChildrenProps>

children

Yes