17 lines
492 B
JavaScript
17 lines
492 B
JavaScript
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}>
|
|
<div className={[_s.default, _s.alignItemsCenter, _s.posAbs, _s.left0, _s.right0, _s.topNeg80PX].join(' ')}>
|
|
<Icon id='loading' size='24px' />
|
|
</div>
|
|
</Responsive>
|
|
)
|
|
}
|
|
|
|
} |