This is documentation for Stream Chat React Native SDK v4, which is nolonger actively maintained. For up-to-date documentation, see the latest version (v5).

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
© Getstream.io, Inc. All Rights Reserved.