{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "day-stream-demo",
  "type": "registry:block",
  "description": "Heart rate through the day, by hour or day",
  "files": [
    {
      "path": "registry/predict/health/day-stream/day-stream-demo.tsx",
      "content": "\"use client\"\n\nimport * as React from \"react\"\n\nimport { RangeControl } from \"@workspace/ui/predict/health/range-control\"\nimport { DayStream } from \"@workspace/ui/predict/health/day-stream\"\n\nexport function DayStreamDemo() {\n  const [range, setRange] = React.useState<\"day\" | 7 | 30>(\"day\")\n  return (\n    <div className=\"flex w-full max-w-[342px] flex-col gap-6\">\n      <RangeControl\n        day\n        selected={range}\n        onSelectedChange={(value) => {\n          if (value !== 90) setRange(value)\n        }}\n        aria-label=\"Chart range\"\n      />\n      <DayStream range={range} workout=\"07:10\" />\n    </div>\n  )\n}\n",
      "type": "registry:block"
    }
  ]
}