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.
<Channel ScrollToBottomButton={CustomScrollToBottomButton} />
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 |