{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "chart-spot-checks-demo",
  "type": "registry:block",
  "description": "Spot checks by place with a glass range switch",
  "files": [
    {
      "path": "registry/predict/health/chart-spot-checks/chart-spot-checks-demo.tsx",
      "content": "\"use client\"\n\nimport * as React from \"react\"\n\nimport { ChartSpotChecks } from \"@workspace/ui/predict/health/chart-spot-checks\"\nimport { RangeControl, type RangeValue } from \"@workspace/ui/predict/health/range-control\"\n\nexport function ChartSpotChecksDemo() {\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      <ChartSpotChecks range={days} form=\"place-lines\" />\n    </div>\n  )\n}\n",
      "type": "registry:block"
    }
  ]
}