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 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
Add Chat to my app: getstream.io/SKILL.md

The fastest way to build with Stream. Start a new project or improve an existing one. Full CLI and documentation integration out of the box.


Ask your agent:

/stream Build me a Social App with Feeds and Moderation.
/stream Any livestream calls running?
/stream Chat React Native v9: <Your Question>