"use client" import { Bar, BarChart, Line, LineChart } from "recharts" import { Card, CardContent, CardHeader, CardTitle, } from "@/registry/new-york/ui/card" import { ChartConfig, ChartContainer } from "@/registry/new-york/ui/chart" const data = [ { revenue: 10400, subscription: 240, }, { revenue: 14405, subscription: 300, }, { revenue: 9400, subscription: 200, }, { revenue: 8200, subscription: 278, }, { revenue: 7000, subscription: 189, }, { revenue: 9600, subscription: 239, }, { revenue: 11244, subscription: 278, }, { revenue: 26475, subscription: 189, }, ] const chartConfig = { revenue: { label: "Revenue", color: "hsl(var(--primary))", }, subscription: { label: "Subscriptions", color: "hsl(var(--primary))", }, } satisfies ChartConfig export function CardsStats() { return (
+20.1% from last month
+180.1% from last month