Skip to main content

Overview

CometChatDeleteBubble renders the placeholder shown in place of a deleted message — italic, muted text reading “This message was deleted”. It is a presentational component: pass isSentByMe for sent-vs-received styling and an optional text override. The Delete Plugin renders it automatically for any message whose getDeletedAt() is non-null.
Live Preview — interact with the delete bubble.Open in Storybook ↗

Usage


Props

isSentByMe

Whether the deleted message was sent by the logged-in user. Affects styling.

text

Optional custom text override. Defaults to the localized “This message was deleted”.

className

Additional CSS class applied to the root element.

CSS Selectors


Next Steps

Delete Plugin

How deleted messages are resolved and rendered

Message Bubble

The wrapper that hosts bubble content

Theming

Customize colors, fonts, and spacing