"use client" import { Bar, BarChart, ResponsiveContainer, XAxis, YAxis } from "recharts" interface OverviewProps { data: number[] } export function Overview({ data }: OverviewProps) { const months = ["Jan", "Fev", "Mar", "Abr", "Mai", "Jun", "Jul", "Ago", "Set", "Out", "Nov", "Dez"] const chartData = data.map((value, index) => ({ name: months[index], total: value, })) return ( `R$${value}`} /> ) }