gab-social/app/javascript/gabsocial/components/pull_to_refresher.js
2020-05-07 01:55:24 -04:00

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>
)
}
}