# MessageDeleted

Component to render a deleted message within the [`MessageList`](https://getstream.io/chat/docs/sdk/react-native/v4/ui-components/message-list/).
This is the default component provided to the prop [`MessageDeleted`](https://getstream.io/chat/docs/sdk/react-native/v4/core-components/channel#messagedeleted) on the `Channel` component.

## Props

### **formattedDate**

Date time stamp to be shown in footer for deleted message.

| Type   |
| ------ |
| string |

### **groupStyle**

Group styles which is combination of [alignment](https://getstream.io/chat/docs/sdk/react-native/v4/contexts/message-context#alignment) and [`groupStyles`](https://getstream.io/chat/docs/sdk/react-native/v4/contexts/message-context#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:

```tsx
const noBorder =
  (onlyEmojis && !message.quoted_message) || !!otherAttachments.length;
```

| 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 |

---

For the most recent version of this documentation, visit [https://getstream.io/chat/docs/sdk/react-native/v4/ui-components/message-deleted/](https://getstream.io/chat/docs/sdk/react-native/v4/ui-components/message-deleted/).