2017-05-03 02:04:16 +02:00
|
|
|
import React from 'react';
|
2017-01-30 18:04:15 +01:00
|
|
|
import { FormattedMessage } from 'react-intl';
|
2017-04-21 20:05:35 +02:00
|
|
|
import PropTypes from 'prop-types';
|
2017-01-30 18:04:15 +01:00
|
|
|
|
|
|
|
const LoadMore = ({ onClick }) => (
|
2017-04-15 13:27:27 +02:00
|
|
|
<a href="#" className='load-more' role='button' onClick={onClick}>
|
2017-01-30 18:04:15 +01:00
|
|
|
<FormattedMessage id='status.load_more' defaultMessage='Load more' />
|
|
|
|
</a>
|
|
|
|
);
|
|
|
|
|
|
|
|
LoadMore.propTypes = {
|
2017-04-21 20:05:35 +02:00
|
|
|
onClick: PropTypes.func
|
2017-01-30 18:04:15 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
export default LoadMore;
|