* 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
15 lines
308 B
JavaScript
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;
|