ChannelPreviewTitle
Renders a channel title inside ChannelList. This is the default component for the ChannelPreviewTitle override.
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
| Prop | Description | Type |
|---|---|---|
title | Title of the channel. | string |
channel | Channel instance from the Stream Chat client. | Channel |