This is beta documentation for Stream Chat React Native SDK v9. For the latest stable version, see the latest version (v8) .

MessageReplies

Renders thread reply count and avatars inside MessageList. This is the default component for the MessageReplies prop.

Best Practices

  • Keep reply indicators compact to avoid clutter.
  • Use onOpenThread to navigate to thread views consistently.
  • Respect alignment and thread state for consistent layout.
  • Avoid heavy logic in press handlers.
  • Use preventPress for read-only reply indicators.

Props

alignment

Sets whether the message aligns left or right in the list.

TypeDefault
enum('right', 'left')'right'

message

Message object.

Type
Message type

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

onPressIn

Default pressIn handler for message UI.

Type
function

preventPress

Disable press interactions for the replies row.

Type
boolean

threadList

True if the current message is part of a thread.

Type
Boolean

UI Component Props

MessageRepliesAvatars

Component used to render participant avatars beside the reply count.

TypeDefault
ComponentTypeMessageRepliesAvatars