import { Box, CircularProgress } from "@mui/material"; const DataTable_TableLoadingOverlay = ({ table, ...rest }) => { const { options: { localization, mrtTheme: { baseBackgroundColor }, muiCircularProgressProps, }, } = table; const circularProgressProps = { ...parseFromValuesOrFunc(muiCircularProgressProps, { table }), ...rest, }; return ( {circularProgressProps?.Component ?? ( )} ); }; export default DataTable_TableLoadingOverlay;