"use client" import { Area, AreaChart, Line, LineChart } from "recharts" import { Button } from "@/registry/new-york-v4/ui/button" import { Card, CardAction, CardContent, CardDescription, CardHeader, CardTitle, } from "@/registry/new-york-v4/ui/card" import { ChartConfig, ChartContainer } from "@/registry/new-york-v4/ui/chart" const data = [ { revenue: 10400, subscription: 40, }, { revenue: 14405, subscription: 90, }, { revenue: 9400, subscription: 200, }, { revenue: 8200, subscription: 278, }, { revenue: 7000, subscription: 89, }, { revenue: 9600, subscription: 239, }, { revenue: 11244, subscription: 78, }, { revenue: 26475, subscription: 89, }, ] const chartConfig = { revenue: { label: "Revenue", color: "var(--primary)", }, subscription: { label: "Subscriptions", color: "var(--primary)", }, } satisfies ChartConfig export function CardsStats() { return (
Total Revenue $15,231.89 +20.1% from last month Subscriptions +2,350 +180.1% from last month
) }