{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "chart-pairs-demo",
  "type": "registry:block",
  "description": "Paired readings with a glass range switch",
  "files": [
    {
      "path": "registry/predict/health/chart-pairs/chart-pairs-demo.tsx",
      "content": "\"use client\"\n\nimport * as React from \"react\"\n\nimport { ChartPairs } from \"@workspace/ui/predict/health/chart-pairs\"\nimport { RangeControl, type RangeValue } from \"@workspace/ui/predict/health/range-control\"\n\nexport function ChartPairsDemo() {\n  const [range, setRange] = React.useState<RangeValue>(7)\n  const days = range === \"day\" ? 7 : range\n  return (\n    <div className=\"flex w-full max-w-[342px] flex-col gap-6\">\n      <RangeControl selected={range} onSelectedChange={setRange} aria-label=\"Range\" />\n      <ChartPairs range={days} />\n    </div>\n  )\n}\n",
      "type": "registry:block"
    }
  ]
}