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-05-26 08:10:37 -04:00
|
|
|
<button className='load-more' onClick={onClick}>
|
2017-01-30 12:04:15 -05:00
|
|
|
<FormattedMessage id='status.load_more' defaultMessage='Load more' />
|
2017-05-26 08:10:37 -04:00
|
|
|
</button>
|
2017-01-30 12:04:15 -05:00
|
|
|
);
|
|
|
|
|
|
|
|
LoadMore.propTypes = {
|
2017-05-20 11:31:47 -04:00
|
|
|
onClick: PropTypes.func,
|
2017-01-30 12:04:15 -05:00
|
|
|
};
|
|
|
|
|
|
|
|
export default LoadMore;
|