ChannelPreviewUnreadCount
Component to render unread count on a channel, within the ChannelList
component.
This is the default component provided to the prop PreviewUnreadCount
on the ChannelList
component.
#
Propsrequired maxUnreadCount#
Max number to display within the unread notification badge. The value cannot exceed the backend limit of 255.
Type | Default |
---|---|
number | 255 |
required unread#
Number of unread messages on the channel
Type |
---|
number |
#
channelInstance of Channel from stream-chat package.
Type |
---|
Channel |