2017-05-03 09:04:16 +09:00
|
|
|
import React from 'react';
|
2017-01-31 02:04:15 +09:00
|
|
|
import { FormattedMessage } from 'react-intl';
|
2017-04-22 03:05:35 +09:00
|
|
|
import PropTypes from 'prop-types';
|
2017-01-31 02:04:15 +09:00
|
|
|
|
2017-06-24 02:36:54 +09:00
|
|
|
export default class LoadMore extends React.PureComponent {
|
2017-05-30 00:52:45 +09: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>
|
|
|
|
);
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|