mirror of
https://github.com/diced/zipline.git
synced 2026-01-05 17:28:33 -08:00
16 lines
349 B
TypeScript
16 lines
349 B
TypeScript
import React from 'react';
|
|
import {
|
|
Backdrop as MuiBackdrop,
|
|
CircularProgress
|
|
} from '@material-ui/core';
|
|
|
|
export default function Backdrop({ open }) {
|
|
return (
|
|
<MuiBackdrop
|
|
sx={{ color: '#fff', zIndex: (theme) => theme.zIndex.drawer + 1 }}
|
|
open={open}
|
|
>
|
|
<CircularProgress color='inherit' />
|
|
</MuiBackdrop>
|
|
);
|
|
} |