2017-05-03 00:04:16 +00:00
|
|
|
import React from 'react';
|
2017-01-30 17:04:15 +00:00
|
|
|
import { FormattedMessage } from 'react-intl';
|
2017-04-21 18:05:35 +00:00
|
|
|
import PropTypes from 'prop-types';
|
2017-01-30 17:04:15 +00:00
|
|
|
|
|
|
|
const LoadMore = ({ onClick }) => (
|
2017-05-26 12:10:37 +00:00
|
|
|
<button className='load-more' onClick={onClick}>
|
2017-01-30 17:04:15 +00:00
|
|
|
<FormattedMessage id='status.load_more' defaultMessage='Load more' />
|
2017-05-26 12:10:37 +00:00
|
|
|
</button>
|
2017-01-30 17:04:15 +00:00
|
|
|
);
|
|
|
|
|
|
|
|
LoadMore.propTypes = {
|
2017-05-20 15:31:47 +00:00
|
|
|
onClick: PropTypes.func,
|
2017-01-30 17:04:15 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
export default LoadMore;
|