import { ChartCard } from "@/shared/charts/ChartCard.jsx";

export function DashboardCharts({ overview }) {
  return (
    <section className="overview-charts" aria-label="资源图表">
      <ChartCard title="后台用户" colorToken="--chart-blue" series={overview?.series?.users || []} />
      <ChartCard title="操作日志" colorToken="--chart-green" series={overview?.series?.operations || []} />
    </section>
  );
}
