This is beta documentation for Stream Chat React Native SDK v9. For the latest stable version, see the latest version (v8)
.
SentToChannelHeader
Renders the sent-to-channel header in MessageList. This is the default component for the 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
Channelprop for centralized customization.
Props
onPress
Handler invoked when the header is pressed.
| Type |
|---|
| function |
showViewText
Whether to show the "View" text/action affordance.
| Type | Default |
|---|---|
boolean | false |