signal-desktop/ts/components/conversation/ScrollDownButton.md
2019-08-21 14:52:30 -07:00

550 B

No new messages

<util.ConversationContext theme={util.theme} ios={util.ios}>
  <ScrollDownButton
    withNewMessages={false}
    conversationId="id-1"
    scrollDown={id => console.log('scrollDown', id)}
    i18n={util.i18n}
  />
</util.ConversationContext>

With new messages

<util.ConversationContext theme={util.theme} ios={util.ios}>
  <ScrollDownButton
    withNewMessages={true}
    conversationId="id-2"
    scrollDown={id => console.log('scrollDown', id)}
    i18n={util.i18n}
  />
</util.ConversationContext>