MainContainer
This is a container for MainContainer.
Can be themed with Theme.MainContainer
in Theme.
Component children#
Key | Component | Condition | Align | Description |
---|---|---|---|---|
sidenav | SideNav | Container for the side navigation bar | ||
outbound-dialer-panel | OutboundDialerPanel | Visible only when showOutboundDialer prop is true | OutboundDialerPanel | |
content | styled(div) | Content container where all views are rendered |
Static Properties#
Name | Type | Description |
---|---|---|
Content | DynamicContentStore<MainContainer.MainContainerChildrenProps, MainContainerChildrenKeys> | Dynamic content store |
defaultProps | MainContainer.MainContainerProps | Default properties |
Component Properties#
Name | Type | Description | Optional | Default |
---|---|---|---|---|
keepSideNavOpen | boolean | 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. | Yes | false |
showNotificationBar | boolean | Whether notifications will be shown on the NotificationBar or not. If set to false, no notifications in NotificationBar will be shown. | Yes | true |
showLiveCommsBar | boolean | Whether to display an incoming call bar for views different from Agent Desktop or not. | Yes | true |
children | DynamicContentStore.DynamicComponentChildren<MainContainerChildrenProps> | children | Yes |
Component Children Properties#
Name | Type | Description | Optional | Default |
---|---|---|---|---|
activeView | string | Represents the current active view. | Yes | |
showOutboundDialer | boolean | If outbound dialer should be shown | Yes | |
keepSideNavOpen | boolean | 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. | Yes | false |
showNotificationBar | boolean | Whether notifications will be shown on the NotificationBar or not. If set to false, no notifications in NotificationBar will be shown. | Yes | true |
showLiveCommsBar | boolean | Whether to display an incoming call bar for views different from Agent Desktop or not. | Yes | true |
children | DynamicContentStore.DynamicComponentChildren<MainContainerChildrenProps> | children | Yes |