<ConversationImage>

The <ConversationImage> component is used to display an image associated with a conversation.

interface ConversationImageProps

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.

conversation
: ConversationSnapshot

The conversation that's being displayed.

participants
: ParticipantSnapshot[]

A list of participants that are a part of the conversation.

Example

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

ConversationImage.js
1// loading...