mirror of
https://github.com/glitch-soc/mastodon.git
synced 2024-11-28 02:50:14 -05:00
2e112e2406
* Add semi to ESLint rules * Add padded-blocks to ESLint rules * Add comma-dangle to ESLint rules * add config/webpack and storyboard * add streaming/ * yarn test:lint -- --fix
16 lines
380 B
JavaScript
16 lines
380 B
JavaScript
import React from 'react';
|
|
import { FormattedMessage } from 'react-intl';
|
|
import PropTypes from 'prop-types';
|
|
|
|
const LoadMore = ({ onClick }) => (
|
|
<a href="#" className='load-more' role='button' onClick={onClick}>
|
|
<FormattedMessage id='status.load_more' defaultMessage='Load more' />
|
|
</a>
|
|
);
|
|
|
|
LoadMore.propTypes = {
|
|
onClick: PropTypes.func,
|
|
};
|
|
|
|
export default LoadMore;
|