<ChatHeader>

The <ChatHeader> component is displayed at the top of the chat panel.

interface ChatHeaderProps

Properties

A collection of objects which are passed to all Chatbox theme components.

isUserConnected
: { [userId: string]: boolean }

A record of user IDs and their connection status.

permissions
: UserPermissions

The current user's permissions.

Example

In the default theme, the <ChatHeader> component is implemented as follows:

ChatHeader.js
1// loading...