ChannelPreviewTitle
Component to render the title for a channel, within the ChannelList
component.
This is the default component provided to the prop PreviewTitle
on the ChannelList
component.
Props
required displayName
Formatted name for the previewed channel.
Type |
---|
string |
required channel
Instance of Channel from stream-chat package.
Type |
---|
Channel |