gab-social/app/javascript/gabsocial/components/popover/error_popover.js
mgabdev 87f85131b7 Added error, loading modal and popover components
• Added:
- error, loading modal components
- error, loading popover components

• Removed:
- ModalLoading from async_components

• Updated:
- ModalRoot to use new components
2020-07-21 16:48:55 -05:00

23 lines
601 B
JavaScript

import Block from '../block'
import ColumnIndicator from '../column_indicator'
export default class ErrorPopover extends PureComponent {
render() {
return (
<div className={_s.width250PX}>
<Block>
<div className={[_s.default, _s.px15, _s.py15, _s.mt15, _s.mb15].join(' ')}>
<div className={[_s.default, _s.px15, _s.py15, _s.mt15, _s.mb15, _s.alignItemsCenter, _s.justifyContentCenter].join(' ')}>
<ColumnIndicator type='error' message='Error loading popover' />
</div>
</div>
</Block>
</div>
)
}
}