4b11675bdc
Fix warning for ESLint (jsx-a11y/href-no-hash).
16 lines
367 B
JavaScript
16 lines
367 B
JavaScript
import React from 'react';
|
|
import { FormattedMessage } from 'react-intl';
|
|
import PropTypes from 'prop-types';
|
|
|
|
const LoadMore = ({ onClick }) => (
|
|
<button className='load-more' onClick={onClick}>
|
|
<FormattedMessage id='status.load_more' defaultMessage='Load more' />
|
|
</button>
|
|
);
|
|
|
|
LoadMore.propTypes = {
|
|
onClick: PropTypes.func,
|
|
};
|
|
|
|
export default LoadMore;
|