mirror of
https://github.com/glitch-soc/mastodon.git
synced 2024-11-16 13:14:17 -05:00
1948f9e767
* Remove deprecated features at React v15.5
- [x] React.PropTypes
- [x] react-addons-pure-render-mixin
- [x] react-addons-test-utils
* Uncommented out & Add browserify_rails options
* re-add react-addons-shallow
* Fix syntax error from resolve conflicts
* follow up 59a77923b3
15 lines
352 B
JavaScript
15 lines
352 B
JavaScript
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;
|