signal-desktop/ts/components/conversation/ScrollDownButton.md
2019-05-16 15:23:21 -07:00

757 B

None

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

One

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

More than one

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