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
| 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 |