You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

15 lines
379 B

  1. import React from 'react';
  2. import { FormattedMessage } from 'react-intl';
  3. import PropTypes from 'prop-types';
  4. const LoadMore = ({ onClick }) => (
  5. <a href="#" className='load-more' role='button' onClick={onClick}>
  6. <FormattedMessage id='status.load_more' defaultMessage='Load more' />
  7. </a>
  8. );
  9. LoadMore.propTypes = {
  10. onClick: PropTypes.func
  11. };
  12. export default LoadMore;