Info:
This is documentation for Stream Chat React Native SDK v3, which is no longer actively maintained. For up-to-date documentation, see the latest version (v9).

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

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

channel

Instance of Channel from stream-chat package.

Type
Channel
Add Chat to my app: getstream.io/SKILL.md

The fastest way to build with Stream. Start a new project or improve an existing one. Full CLI and documentation integration out of the box.


Ask your agent:

/stream Build me a Social App with Feeds and Moderation.
/stream Any livestream calls running?
/stream Chat React Native v3: <Your Question>