{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "change-from-zero-demo",
  "type": "registry:block",
  "description": "Nightly change from your usual as stems",
  "files": [
    {
      "path": "registry/predict/health/change-from-zero/change-from-zero-demo.tsx",
      "content": "\"use client\"\n\nimport * as React from \"react\"\n\nimport { RangeControl } from \"@workspace/ui/predict/health/range-control\"\nimport { ChangeFromZero } from \"@workspace/ui/predict/health/change-from-zero\"\n\nexport function ChangeFromZeroDemo() {\n  const [range, setRange] = React.useState<7 | 30 | 90>(7)\n  return (\n    <div className=\"flex w-full max-w-[342px] flex-col gap-6\">\n      <RangeControl\n        selected={range}\n        onSelectedChange={(value) => {\n          if (value !== \"day\") setRange(value)\n        }}\n        aria-label=\"Chart range\"\n      />\n      <ChangeFromZero range={range} />\n    </div>\n  )\n}\n",
      "type": "registry:block"
    }
  ]
}