Files
frontend-app-ora-grading/src/components/FilePreview/Banners/LoadingBanner.jsx
leangseu-edx c5bf0a7d11 feat: add file renderer that support common error handling and loading banner (#42)
* feat: add file renderer that support common error handling and loading banner

* chore: use axios instead of get from utils

* chore: fixed typo and update snapshots
2022-01-19 12:34:44 -05:00

15 lines
308 B
JavaScript

import React from 'react';
import { Alert, Spinner } from '@edx/paragon';
export const LoadingBanner = () => (
<Alert variant="info">
<Spinner animation="border" className="d-flex m-auto" />
</Alert>
);
LoadingBanner.defaultProps = {};
LoadingBanner.propTypes = {};
export default LoadingBanner;