import { useTheme } from '@mui/material/styles'; import { Cell, Bar, BarChart, CartesianGrid, ResponsiveContainer, XAxis, YAxis, LabelList } from 'recharts'; import { useTick, fixChartsClasses } from '../../utils'; import type { Theme } from '../@styles/theme-provider'; import type { ChartBarProps } from './types'; export function ChartBar(props: ChartBarProps) { const { ResponsiveContainerProps, BarChartProps, CartesianGridProps, XAxisProps, YAxisProps, BarProps, LabelListProps } = props; const data = BarChartProps?.data; const theme = useTheme(); const tick = useTick(); const classes = fixChartsClasses(); return ( {data?.map(entry => ( ))} ); }