For AI agents: Find a documentation index at https://talkjs.com/llms.txt (full content at https://talkjs.com/llms-full.txt). Get a markdown version of any page by appending .md to its URL path.
<CompactMessageContent>
Display condensed message previews.
The <CompactMessageContent> component displays a truncated version of the provided message's contents. It's used by <ConversationListItem>, <ReferencedMessage> and <ReplyBar>.
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.
In the default theme, the <CompactMessageContent> component is implemented as follows:
1// loading...