Added pull to refresh capability to StatusList, ScrollableList for HomeTimeline to start
• Added: - pull to refresh capability to StatusList, ScrollableList for HomeTimeline to start • Updated: - PullToRefresher styles • Todo: - Will add to additional timelines soon
This commit is contained in:
@@ -1,14 +1,17 @@
|
||||
import { BREAKPOINT_EXTRA_SMALL } from '../constants'
|
||||
import Responsive from '../features/ui//util/responsive_component'
|
||||
import Icon from './icon'
|
||||
import Text from './text'
|
||||
|
||||
export default class PullToRefresher extends PureComponent {
|
||||
|
||||
render() {
|
||||
return (
|
||||
<Responsive max={BREAKPOINT_EXTRA_SMALL}>
|
||||
<div className={[_s.default, _s.alignItemsCenter, _s.posAbs, _s.left0, _s.right0, _s.topNeg80PX].join(' ')}>
|
||||
<Icon id='loading' size='24px' />
|
||||
<div className={[_s.default, _s.height53PX, _s.width100PC, _s.alignItemsCenter, _s.posAbs, _s.left0, _s.right0, _s.topNeg50PX].join(' ')}>
|
||||
<div className={[_s.default, _s.width100PC, _s.alignItemsCenter].join(' ')}>
|
||||
<Icon id='loading' size='24px' />
|
||||
</div>
|
||||
</div>
|
||||
</Responsive>
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user