Archived
2
0
Fork 0

Add explicit "load more" link to the bottom of StatusList and notifications

This commit is contained in:
Eugen Rochko 2017-01-30 18:04:15 +01:00
parent 02cd2e42b2
commit 404d2050d3
6 changed files with 71 additions and 6 deletions

View file

@ -0,0 +1,21 @@
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;