# SendButton

> **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 the send button with the [`MessageInput`](https://getstream.io/chat/docs/sdk/react-native/v5/ui-components/message-input/) component.
This is the default component provided to the prop [`SendButton`](https://getstream.io/chat/docs/sdk/react-native/v5/core-components/channel/#sendbutton) on the `Channel` component.

## Props

### `disabled`

True if channel is [frozen](https://getstream.io/chat/docs/javascript/disabling-channels/) and [disableIfFrozenChannel](https://getstream.io/chat/docs/sdk/react-native/v5/core-components/channel/#disableiffrozenchannel) is true.

| Type    |
| ------- |
| Boolean |

### `giphyActive`

True if a user selects the `giphy` command from commands list (which is shown when you type a `/` in the input box).
This value is set back to `false` when the user sends the message for searching Giphy.

| Type    |
| ------- |
| Boolean |

### `sendMessage`

Sends a composed message within `MessageInput` component to channel. This function is attached to `onPress` handler of [`SendButton`](https://getstream.io/chat/docs/sdk/react-native/v5/core-components/channel/#sendbutton). The message optimistically gets added to message list UI first, before actually making API call to server.
During this intermediate stage, MessageStatus component will display an indicator for "pending" state.

| Type     |
| -------- |
| Function |

---

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