tootlab-mastodon/app/assets/javascripts/components/components/load_more.jsx
2017-02-09 01:20:09 +01:00

14 lines
308 B
JavaScript

import { FormattedMessage } from 'react-intl';
const LoadMore = ({ onClick }) => (
<a href='#' className='load-more' onClick={onClick}>
<FormattedMessage id='status.load_more' defaultMessage='Load more' />
</a>
);
LoadMore.propTypes = {
onClick: React.PropTypes.func
};
export default LoadMore;