import React from 'react'; import classNames from 'classnames'; import { LocalizerType } from '../../types/Util'; export type Props = { withNewMessages: boolean; conversationId: string; scrollDown: (conversationId: string) => void; i18n: LocalizerType; }; export class ScrollDownButton extends React.Component { public render() { const { conversationId, withNewMessages, i18n, scrollDown } = this.props; const altText = withNewMessages ? i18n('messagesBelow') : i18n('scrollDown'); return (
); } }