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
|
|
|
|
2017-06-23 13:36:54 -04:00
|
|
|
export default class LoadMore extends React.PureComponent {
|
2017-05-29 11:52:45 -04:00
|
|
|
|
|
|
|
static propTypes = {
|
|
|
|
onClick: PropTypes.func,
|
|
|
|
}
|
|
|
|
|
|
|
|
render() {
|
|
|
|
return (
|
|
|
|
<button className='load-more' onClick={this.props.onClick}>
|
|
|
|
<FormattedMessage id='status.load_more' defaultMessage='Load more' />
|
|
|
|
</button>
|
|
|
|
);
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|