2020-05-07 05:03:34 +01:00
|
|
|
import { BREAKPOINT_EXTRA_SMALL } from '../constants'
|
|
|
|
import Responsive from '../features/ui//util/responsive_component'
|
|
|
|
import Icon from './icon'
|
|
|
|
|
|
|
|
export default class PullToRefresher extends PureComponent {
|
|
|
|
|
|
|
|
render() {
|
|
|
|
return (
|
|
|
|
<Responsive max={BREAKPOINT_EXTRA_SMALL}>
|
2020-05-07 06:55:24 +01:00
|
|
|
<div className={[_s.default, _s.alignItemsCenter, _s.posAbs, _s.left0, _s.right0, _s.topNeg80PX].join(' ')}>
|
|
|
|
<Icon id='loading' size='24px' />
|
2020-05-07 05:03:34 +01:00
|
|
|
</div>
|
|
|
|
</Responsive>
|
|
|
|
)
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|