{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "timeline-demo",
  "title": "Timeline Demo",
  "description": "A worked example of Timeline: Things that happened, in the order they happened, with the state of each one said aloud rather than left in a coloured dot.",
  "registryDependencies": [
    "https://ui.tinkererslabs.com/r/timeline.json"
  ],
  "files": [
    {
      "path": "components/demos/timeline-demo.tsx",
      "content": "\"use client\"\n\nimport { Timeline } from \"@/registry/default/timeline/timeline\"\n\nconst entries = [\n  {\n    id: \"opened\",\n    title: \"Pull request opened\",\n    time: \"09:14\",\n    description: \"Twelve files changed.\",\n    tone: \"done\" as const,\n  },\n  {\n    id: \"checks\",\n    title: \"Checks passed\",\n    time: \"09:21\",\n    tone: \"done\" as const,\n  },\n  {\n    id: \"review\",\n    title: \"Waiting on review\",\n    time: \"09:22\",\n    description: \"Two reviewers asked.\",\n    tone: \"active\" as const,\n  },\n  { id: \"merge\", title: \"Merge\", tone: \"todo\" as const },\n]\n\nexport function TimelineDemo() {\n  return (\n    <div className=\"w-full max-w-md\">\n      <Timeline entries={entries} label=\"Pull request history\" />\n    </div>\n  )\n}\n",
      "type": "registry:example"
    }
  ],
  "type": "registry:example"
}