# MessageBounce

Handles bounce actions on tap or long press of a bounced message in [`MessageList`](/chat/docs/sdk/react-native/ui-components/message-list/).

## Best Practices

- Provide clear feedback when a message is bounced.
- Use `retrySendMessage` only after validating message content.
- Keep bounce handling UI lightweight to avoid list jank.
- Use `removeMessage` for local cleanup; server state requires explicit calls.
- Avoid editing state changes unless the user explicitly chooses to edit.

## Props

| Prop                    | Description                                                                     | Type                |
| ----------------------- | ------------------------------------------------------------------------------- | ------------------- |
| `setEditingState`       | Set editing state for a message.                                                | `(message) => void` |
| `removeMessage`         | Remove a message from local state only (does not call `channel.deleteMessage`). | `(message) => void` |
| `retrySendMessage`      | Retry sending a failed message.                                                 | `(message) => void` |
| `message`               | Message object.                                                                 | `Message` type      |
| `setIsBounceDialogOpen` | State setter to open/close the bounce modal.                                    | `(boolean) => void` |


---

This page was last updated at 2026-06-09T15:44:14.055Z.

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