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.
  • Hide the curve (noBorder) only when it improves clarity.

Props

noBorder

If true, hides the curved line next to the reply count.

Type
Boolean

repliesCurveColor

Color of the curved line next to the reply count.

Type
String

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

threadList

True if the current message is part of a thread.

Type
Boolean