# MessageBounce

> **Info:** This is documentation for **Stream Chat React Native SDK v5**, which is no longer actively maintained. For up-to-date documentation, see the [latest version (v10)](https://getstream.io/chat/docs/sdk/react-native/).

Component to render bounce action handler on click or long press of a Bounced message, within [`MessageList`](https://getstream.io/chat/docs/sdk/react-native/v5/ui-components/message-list/).

## Props

### `setEditingState`

Enables editing state for given message.

| Type                |
| ------------------- |
| `(message) => void` |

### `removeMessage`

Function to remove message from local channel state. Please note that this function is only for updating the local state, it doesn't call the API for deleting message (`channel.deleteMessage`).

| Type                |
| ------------------- |
| `(message) => void` |

### `retrySendMessage`

Function to re-attempt sending failed message.

| Type                |
| ------------------- |
| `(message) => void` |

### `message`

Message object.

| Type           |
| -------------- |
| `Message` type |

### `setIsBounceDialogOpen`

React state update function to open/close the message bounce modal.

| Type                |
| ------------------- |
| `(boolean) => void` |

---

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