<Channel ScrollToBottomButton={CustomScrollToBottomButton} />
This is documentation for
Stream Chat React Native SDK v5, which is nolonger actively maintained. For up-to-date documentation, see the latest version (v6).
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: