<CompactMessageContent>

The <CompactMessageContent> component displays a truncated version of the provided message's contents. It's used by <ConversationListItem>, <ReferencedMessage> and <ReplyBar>.

interface CompactMessageContentProps

Properties

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

Because this particular theme component can show up in both a <Chatbox> and a <ConversationList>, this prop has a union type.

The message that's being displayed.

Example

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

CompactMessageContent.js
1// loading...