Skip to main content

Where It Fits

CometChatThreadedHeader is a component that displays the parent message of a thread along with a reply count. It’s typically used as part of the ThreadedMessages composite component, appearing at the top of the threaded conversation view. ThreadedMessages is composed of the following widgets:

Minimal Render

The simplest way to render CometChatThreadedHeader:
You can also launch it using Navigator:
Or embed it as a widget:

Actions and Events

Callback Props

The CometChatThreadedHeader component does not have traditional callback props. Instead, it provides a messageActionView slot for customizing the action area.

Global UI Events

The CometChatThreadedHeader component does not produce any global UI events.

Custom View Slots

Customize the appearance of CometChatThreadedHeader by replacing default views with your own widgets.

Example: Custom Message Action View

Image

Example: Custom Reply Count with Dividers

Templates

The template prop is used to configure and set a message template for the parent message bubble. It allows for dynamic customization of message appearance, content, or other predefined settings based on the template provided.

Styling

Customize the appearance of CometChatThreadedHeader using CometChatThreadedHeaderStyle.

Style Properties

Props Reference

Message List

Display messages in a conversation

Message Composer

Compose and send messages

Theming

Learn how to customize the look and feel

Localization

Support multiple languages in your app