const noBorder =
(onlyEmojis && !message.quoted_message) || !!otherAttachments.length;
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).
MessageDeleted
Component to render a deleted message within the MessageList
.
This is the default component provided to the prop MessageDeleted
on the Channel
component.
Props
formattedDate
DateTime stamp to be shown in footer for deleted message.
Type |
---|
string |
groupStyle
Group styles which is combination of alignment
and groupStyles
for example left_bottom
, left_single
, right_top
This prop decides the appropriate border radius to apply for deleted message container.
Type |
---|
string |
noBorder
Weather to show the borders for deleted message or not. By default, this value is computed as follow:
Type |
---|
boolean |
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 |
On this page: