mastodon/app/assets/javascripts/components/components/load_more.jsx

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;