2017-05-03 01:04:16 +01:00
|
|
|
import React from 'react';
|
2017-01-30 17:04:15 +00:00
|
|
|
import { FormattedMessage } from 'react-intl';
|
2017-04-21 19:05:35 +01:00
|
|
|
import PropTypes from 'prop-types';
|
2017-01-30 17:04:15 +00:00
|
|
|
|
2017-05-29 16:52:45 +01:00
|
|
|
class LoadMore extends React.PureComponent {
|
|
|
|
|
|
|
|
static propTypes = {
|
|
|
|
onClick: PropTypes.func,
|
|
|
|
}
|
|
|
|
|
|
|
|
render() {
|
|
|
|
return (
|
|
|
|
<button className='load-more' onClick={this.props.onClick}>
|
|
|
|
<FormattedMessage id='status.load_more' defaultMessage='Load more' />
|
|
|
|
</button>
|
|
|
|
);
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
2017-01-30 17:04:15 +00:00
|
|
|
|
|
|
|
export default LoadMore;
|