'use client' import { Table, TableBody, TableCell, TableHead, TableHeader, TableRow, } from '@/components/ui/table' import { cn } from '@/lib/utils' interface MonthlyRow { month: string value: number label?: string } interface MonthlyTrendTableProps { rows: MonthlyRow[] valueLabel?: string valueSuffix?: string formatValue?: (v: number) => string className?: string } export default function MonthlyTrendTable({ rows, valueLabel = 'Belopp', valueSuffix = 'kr', formatValue, className, }: MonthlyTrendTableProps) { if (rows.length === 0) { return (