// material-ui import { useTheme } from '@mui/material/styles'; import { Box, Card, Grid, Typography } from '@mui/material'; // third party import Chart, { Props as ChartProps } from 'react-apexcharts'; export interface TotalLineChartCardProps { bgColor?: string; chartData?: ChartProps; title: string; percentage: string; value: number; } // ============================|| TOTAL LINE CHART CARD ||============================ // const TotalLineChartCard = ({ bgColor, chartData, title, percentage, value }: TotalLineChartCardProps) => { const theme = useTheme(); return ( {value && ( {value} )} {percentage && ( {percentage} )} {title && ( {title} )} {chartData && } ); }; export default TotalLineChartCard;