<ConversationListItem>

The <ConversationListItem> component is displayed for each conversation in the conversation list.

interface ConversationListItemProps

Properties

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

conversation
: ConversationSnapshot

The conversation that's being displayed.

isSelected
: boolean

If true, this conversation is the currently selected one in the conversation list.

participants
: ParticipantSnapshot[]

The list of participants that are part of the given conversation.

Example

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

ConversationListItem.js
1// loading...