This is beta documentation for Stream Chat React Native SDK v9. For the latest stable version, see the latest version (v8)
.
ChannelPreviewTitle
Renders a channel title inside ChannelList. This is the default component for the PreviewTitle prop.
Best Practices
- Keep titles short to prevent truncation in small layouts.
- Use consistent casing and formatting across channel rows.
- Avoid heavy logic in render; precompute display names when possible.
- Keep title styling aligned with the rest of the preview row.
Props
title
Title of the channel.
| Type |
|---|
| String |
channel
Channel instance from the Stream Chat client.
| Type |
|---|
| Channel |