import { lazy, Suspense } from 'react'; import Box from '@mui/material/Box'; import { ChartLoading } from './chart-loading'; const ApexChart = lazy(() => import('react-apexcharts').then((mod) => ({ default: mod.default }))); // ---------------------------------------------------------------------- export function Chart({ sx, type, series, height, options, loadingProps, width = '100%', ...other }) { return ( ) } > ); }