"use client"; import { TypeBadge } from "@/components/type-badge"; import { Card, CardContent, CardHeader, CardTitle } from "@/components/ui/card"; import type { CategoryReportData } from "@/lib/relatorios/types"; import { formatCurrency, formatPeriodLabel } from "@/lib/relatorios/utils"; import { getIconComponent } from "@/lib/utils/icons"; import { CategoryCell } from "./category-cell"; interface CategoryReportCardsProps { data: CategoryReportData; } export function CategoryReportCards({ data }: CategoryReportCardsProps) { const { categories, periods } = data; return (