bigbuffet-rw/app/soapbox/features/ui/components/modal_loading.js

21 lines
515 B
JavaScript
Raw Normal View History

2020-03-27 13:59:38 -07:00
import React from 'react';
2022-03-21 11:09:01 -07:00
import { Spinner } from 'soapbox/components/ui';
2020-03-27 13:59:38 -07:00
// Keep the markup in sync with <BundleModalError />
// (make sure they have the same dimensions)
const ModalLoading = () => (
<div className='modal-root__modal error-modal'>
<div className='error-modal__body'>
2022-03-21 11:09:01 -07:00
<Spinner />
2020-03-27 13:59:38 -07:00
</div>
<div className='error-modal__footer'>
<div>
<button className='error-modal__nav onboarding-modal__skip' />
</div>
</div>
</div>
);
export default ModalLoading;