<Channel ScrollToBottomButton={CustomScrollToBottomButton} />
This is documentation for the release candidate
Stream Chat React Native SDK v6. For the latest stable version, see the latest version (v5).
ScrollToBottomButton
Component to render the floating button, which when pressed scrolls the MessageList
to the most recent message.
General Usage
You can replace this default UI component using the ScrollToBottomButton
prop on Channel component.
Props
onPress
onPress
handler for the button.
Type |
---|
Function |
showNotification
When false
, button won’t be rendered.
Type |
---|
Boolean |
unreadCount
Unread count on current channel.
Type |
---|
Number |
On this page: