mirror of
https://github.com/glitch-soc/mastodon.git
synced 2024-11-13 19:54:01 -05:00
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;
|