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.
Props
channel
Instance of Channel from stream-chat package.
Type |
---|
Channel |
maxUnreadCount
Max number to display within the unread notification badge. The value cannot exceed the backend limit of 255.
Type | Default |
---|---|
number | 255 |
unread
Number of unread messages on the channel
Type |
---|
number |
- I'm working with the Stream Chat React Native SDK and would like to ask questions about this documentation page: https://getstream.io/chat/docs/sdk/react-native/ui-components/channel-preview-unread-count.md
- View as markdown
- Open in ChatGPT
- Open in Claude
On this page: