2017-05-02 20:04:16 -04:00
|
|
|
import React from 'react';
|
2017-01-30 12:04:15 -05:00
|
|
|
import { FormattedMessage } from 'react-intl';
|
2017-04-21 14:05:35 -04:00
|
|
|
import PropTypes from 'prop-types';
|
2017-01-30 12:04:15 -05:00
|
|
|
|
|
|
|
const LoadMore = ({ onClick }) => (
|
2017-04-15 07:27:27 -04:00
|
|
|
<a href="#" className='load-more' role='button' onClick={onClick}>
|
2017-01-30 12:04:15 -05:00
|
|
|
<FormattedMessage id='status.load_more' defaultMessage='Load more' />
|
|
|
|
</a>
|
|
|
|
);
|
|
|
|
|
|
|
|
LoadMore.propTypes = {
|
2017-05-20 11:31:47 -04:00
|
|
|
onClick: PropTypes.func,
|
2017-01-30 12:04:15 -05:00
|
|
|
};
|
|
|
|
|
|
|
|
export default LoadMore;
|