You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
379 B
16 lines
379 B
8 years ago
|
import React from 'react';
|
||
8 years ago
|
import { FormattedMessage } from 'react-intl';
|
||
8 years ago
|
import PropTypes from 'prop-types';
|
||
8 years ago
|
|
||
|
const LoadMore = ({ onClick }) => (
|
||
8 years ago
|
<a href="#" className='load-more' role='button' onClick={onClick}>
|
||
8 years ago
|
<FormattedMessage id='status.load_more' defaultMessage='Load more' />
|
||
|
</a>
|
||
|
);
|
||
|
|
||
|
LoadMore.propTypes = {
|
||
8 years ago
|
onClick: PropTypes.func
|
||
8 years ago
|
};
|
||
|
|
||
|
export default LoadMore;
|