<Channel ScrollToBottomButton={CustomScrollToBottomButton} />This is documentation for Stream Chat React Native SDK v4, which is no longer actively maintained. For up-to-date documentation, see the latest version (v8).
ScrollToBottomButton
Component to render the floating button, which when pressed scrolls the MessageList to the most recent message.
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 |