Components

MainHeader

<MainHeader {...MainHeader.MainHeaderProps} />

This is a component for the header. Can be themed with theme.MainHeader

Members

DynamicContentStore.<MainHeader.MainHeaderProps>

# static readonly Content

Dynamic content store
MainHeader.MainHeaderProps

# static readonly defaultProps

Default properties

Type Definitions

# MainHeaderProps

Properties of Main header component.
Properties:
Name Type Attributes Default Description
titleText string <optional>
"Chat with Us" Represent the title of header.
imageUrl string <optional>
Represent the url for the logo.
showTitle boolean <optional>
true Represents if title to be shown or not.
showImage boolean <optional>
true Represents if logo image to be shown or not.
closeCallback function <optional>
A callback to trigger when close button is clicked.