{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "calendar-demo",
  "title": "Calendar Demo",
  "description": "Usage example for the ai2 calendar component.",
  "registryDependencies": [
    "@ai2/calendar"
  ],
  "files": [
    {
      "path": "registry/ai2/examples/calendar-demo.tsx",
      "content": "\"use client\"\n\nimport * as React from \"react\"\n\nimport { Calendar } from \"@/registry/ai2/ui/calendar\"\n\nexport default function CalendarDemo() {\n  /* A fixed date, NOT `new Date()` (AGENTS 6.6): an argument-less `new Date()`\n     can put the server prerender and the client hydration on different days and\n     produce a hydration mismatch. This file is an example shipped to the\n     consumer, so it would carry the bug along with it. In a real application\n     this value comes from a prop or a user choice. */\n  const [date, setDate] = React.useState<Date | undefined>(\n    () => new Date(2026, 0, 15),\n  )\n  return (\n    <Calendar\n      mode=\"single\"\n      selected={date}\n      onSelect={setDate}\n      /* defaultMonth de sabit: yoksa takvim bugunun ayini acar ve secili gun\n         gorunmez kalirdi (secim ocakta, gorunum temmuzda). */\n      defaultMonth={new Date(2026, 0, 1)}\n      className=\"rounded-xl border border-border\"\n    />\n  )\n}\n",
      "type": "registry:example"
    }
  ],
  "type": "registry:example"
}