mirror of
https://git.bsd.gay/fef/nyastodon.git
synced 2024-12-28 22:53:42 +01:00
21 lines
465 B
JavaScript
21 lines
465 B
JavaScript
import { FormattedMessage } from 'react-intl';
|
|
|
|
const loadMoreStyle = {
|
|
display: 'block',
|
|
color: '#616b86',
|
|
textAlign: 'center',
|
|
padding: '15px',
|
|
textDecoration: 'none'
|
|
};
|
|
|
|
const LoadMore = ({ onClick }) => (
|
|
<a href='#' className='load-more' onClick={onClick} style={loadMoreStyle}>
|
|
<FormattedMessage id='status.load_more' defaultMessage='Load more' />
|
|
</a>
|
|
);
|
|
|
|
LoadMore.propTypes = {
|
|
onClick: React.PropTypes.func
|
|
};
|
|
|
|
export default LoadMore;
|