This is documentation for
Stream Chat React Native SDK v3, which is nolonger actively maintained. For up-to-date documentation, see the latest version (v5).
MessageReplies
Component to render thread reply count and avatars of users who thread-replied to a message within the MessageList
.
This is the default component provided to the prop MessageReplies
on the Channel
component.
Props
noBorder
If true, little curved line next to the reply count won’t be rendered.
Type |
---|
boolean |
repliesCurveColor
Color for the curved line next to the reply count.
Type |
---|
string |
alignment
Sets if the message should be aligned to right or left side of list.
Type | Default |
---|---|
enum(‘right’, ‘left’) | ‘right’ |
message
Message object
Type |
---|
object |
onLongPress
Default long press handler for message UI.
Type |
---|
function |
onPress
Default press handler for message UI.
Type |
---|
function |
onOpenThread
Handler function for “Thread Reply” action.
Type |
---|
function |
threadList
True if current message is part of a message thread.
Type |
---|
boolean |