# SentToChannelHeader

Renders the sent-to-channel header in [`MessageList`](/chat/docs/sdk/react-native/ui-components/message-list/). This is the default component for the [`SentToChannelHeader`](/chat/docs/sdk/react-native/core-components/channel#senttochannelheader/) prop.

## Best Practices

- Keep header copy clear for thread/channel context.
- Use the default press handler for thread navigation where possible.
- Avoid blocking UI during parent message fetches.
- Keep "View" affordance consistent with app navigation patterns.
- Override via `Channel` prop for centralized customization.

## Props

| Prop           | Description                                                             | Type       |
| -------------- | ----------------------------------------------------------------------- | ---------- |
| `onPress`      | Handler invoked when the header is pressed.                             | `function` |
| `showViewText` | Whether to show the "View" text/action affordance. Defaults to `false`. | `boolean`  |


---

This page was last updated at 2026-04-17T17:33:46.049Z.

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