Info:
This is documentation for Stream Chat React Native SDK v8, which is no longer actively maintained. For up-to-date documentation, see the latest version (v9).

MessageDeleted

Renders a deleted message inside MessageList. This is the default component for the MessageDeleted prop.

Best Practices

  • Keep deleted message UI subtle to avoid noise.
  • Use groupStyle and alignment to maintain consistent bubble shapes.
  • Respect noBorder logic for emoji-only or attachment messages.
  • Show a timestamp only if it adds value to your UX.
  • Avoid reintroducing actions for deleted messages.

Props

date

Timestamp shown in the deleted message footer.

Type
String

groupStyle

Group style derived from alignment and groupStyles, for example left_bottom, left_single, right_top. This controls the border radius for the deleted message container.

Type
String

noBorder

Whether to show a border for the deleted message. By default:

const noBorder =
  (onlyEmojis && !message.quoted_message) || !!otherAttachments.length;
Type
Boolean

alignment

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

Type Default
enum('right', 'left') 'right'

message

Message object.

Type
Message type
Add Chat to my app: getstream.io/SKILL.md

The fastest way to build with Stream. Start a new project or improve an existing one. Full CLI and documentation integration out of the box.


Ask your agent:

/stream Build me a Social App with Feeds and Moderation.
/stream Any livestream calls running?
/stream Chat React Native v8: <Your Question>