mastodon/app/javascript/flavours/glitch/features/ui/components/modal_loading.jsx

21 lines
552 B
React
Raw Normal View History

import React from 'react';
2017-12-04 07:26:40 +00:00
import LoadingIndicator from 'flavours/glitch/components/loading_indicator';
// 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'>
<LoadingIndicator />
</div>
<div className='error-modal__footer'>
<div>
<button className='error-modal__nav onboarding-modal__skip' />
</div>
</div>
</div>
);
export default ModalLoading;