import { Box, CircularProgress } from '@mui/material' interface BaseLoadingOverlayProps { isLoading: boolean } export const BaseLoadingOverlay: React.FC = ({ isLoading, }) => { if (!isLoading) return null return ( theme.palette.mode === 'dark' ? 'rgba(0, 0, 0, 0.5)' : 'rgba(255, 255, 255, 0.7)', zIndex: 1000, }} > ) }