{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "ex-bar-chart",
  "registryDependencies": [
    "@evilcharts/recharts-bar-chart"
  ],
  "files": [
    {
      "path": "src/registry/examples/recharts/ex-bar-chart.tsx",
      "content": "\"use client\";\n\nimport { EvilBarChart } from \"@/registry/charts/recharts-bar-chart\";\nimport { type ChartConfig } from \"@/registry/ui/recharts-chart\";\n\nconst data = [\n  { month: \"January\", desktop: 342, mobile: 184 },\n  { month: \"February\", desktop: 876, mobile: 491 },\n  { month: \"March\", desktop: 512, mobile: 290 },\n  { month: \"April\", desktop: 629, mobile: 391 },\n  { month: \"May\", desktop: 458, mobile: 309 },\n  { month: \"June\", desktop: 781, mobile: 449 },\n  { month: \"July\", desktop: 394, mobile: 234 },\n  { month: \"August\", desktop: 925, mobile: 557 },\n  { month: \"September\", desktop: 647, mobile: 367 },\n  { month: \"October\", desktop: 532, mobile: 357 },\n  { month: \"November\", desktop: 803, mobile: 515 },\n  { month: \"December\", desktop: 271, mobile: 149 },\n];\n\nconst chartConfig = {\n  desktop: {\n    label: \"Desktop\",\n    colors: {\n      light: [\"#047857\"],\n      dark: [\"#10b981\"],\n    },\n  },\n  mobile: {\n    label: \"Mobile\",\n    colors: {\n      light: [\"#be123c\"],\n      dark: [\"#f43f5e\"],\n    },\n  },\n} satisfies ChartConfig;\n\nexport function EvilExampleBarChart() {\n  return (\n    <EvilBarChart\n      data={data}\n      config={chartConfig}\n      className=\"h-full w-full p-4\"\n      xDataKey=\"month\"\n    >\n      <EvilBarChart.Grid />\n      <EvilBarChart.XAxis dataKey=\"month\" tickFormatter={(value) => value.substring(0, 3)} />\n      <EvilBarChart.Brush formatLabel={(value) => String(value).substring(0, 3)} />\n      <EvilBarChart.Legend isClickable />\n      <EvilBarChart.Tooltip />\n      <EvilBarChart.Bar dataKey=\"desktop\" variant=\"default\" isClickable />\n      <EvilBarChart.Bar dataKey=\"mobile\" variant=\"default\" isClickable />\n    </EvilBarChart>\n  );\n}\n",
      "type": "registry:block"
    }
  ],
  "type": "registry:block"
}