# CommandsButton

> **Info:** This is documentation for **Stream Chat React Native SDK v3**, 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 a button to open the commands picker, within the [`MessageInput`](https://getstream.io/chat/docs/sdk/react-native/v3/ui-components/message-input/).
This is the default component provided to the prop [`CommandsButton`](https://getstream.io/chat/docs/sdk/react-native/v3/core-components/channel/#commandsbutton) 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/v3/core-components/channel/#disableiffrozenchannel) is true.

| Type    |
| ------- |
| boolean |

### handleOnPress

`onPress` handler for this button.

| Type     |
| -------- |
| function |

---

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