{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "recharts-chart-preskok-demo",
  "registryDependencies": [
    "https://ui-three-mu.vercel.app/r/recharts-chart.json"
  ],
  "files": [
    {
      "path": "registry/preskok/examples/recharts-chart-preskok-demo.tsx",
      "content": "\"use client\"\n\nimport { Area, AreaChart as AreaChartPrimitive } from \"recharts\"\n\nimport {\n  CartesianGrid,\n  Chart,\n  ChartLegend,\n  ChartLegendContent,\n  ChartTooltip,\n  ChartTooltipContent,\n  XAxis,\n  YAxis,\n} from \"@/components/ui/preskok-ui/recharts-chart\"\n\ntype DataPoint = {\n  day: string\n  SUV: number\n  Sedan: number\n}\n\nconst data: Array<DataPoint> = [\n  { day: \"Day 1\", SUV: 220, Sedan: 130 },\n  { day: \"Day 2\", SUV: 280, Sedan: 160 },\n  { day: \"Day 3\", SUV: 240, Sedan: 140 },\n  { day: \"Day 4\", SUV: 340, Sedan: 210 },\n  { day: \"Day 5\", SUV: 310, Sedan: 190 },\n  { day: \"Day 6\", SUV: 380, Sedan: 230 },\n  { day: \"Day 7\", SUV: 360, Sedan: 220 },\n]\n\nexport default function RechartsChartPreskokDemo() {\n  const config = {\n    SUV: { label: \"SUV\", color: \"#2563eb\" },\n    Sedan: { label: \"Sedan\", color: \"#60a5fa\" },\n  }\n\n  return (\n    <div className=\"w-3xl max-w-full\">\n      <Chart className=\"h-56 w-full\" data={data} dataKey=\"day\" config={config}>\n        {() => (\n          <AreaChartPrimitive\n            data={data}\n            margin={{ top: 5, right: 0, bottom: 0, left: 0 }}\n          >\n            <CartesianGrid strokeDasharray=\"3 3\" />\n            <XAxis />\n            <YAxis />\n            <ChartLegend content={<ChartLegendContent />} />\n            <ChartTooltip\n              content={<ChartTooltipContent accessibilityLayer />}\n            />\n            <Area\n              type=\"monotone\"\n              dataKey=\"SUV\"\n              stroke=\"var(--color-SUV)\"\n              fill=\"var(--color-SUV)\"\n              fillOpacity={0.3}\n              isAnimationActive\n              dot={false}\n            />\n            <Area\n              type=\"monotone\"\n              dataKey=\"Sedan\"\n              stroke=\"var(--color-Sedan)\"\n              fill=\"var(--color-Sedan)\"\n              fillOpacity={0.3}\n              isAnimationActive\n              dot={false}\n            />\n          </AreaChartPrimitive>\n        )}\n      </Chart>\n    </div>\n  )\n}\n",
      "type": "registry:example"
    }
  ],
  "type": "registry:example"
}