{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "tooltip-demo",
  "type": "registry:example",
  "registryDependencies": [
    "tooltip"
  ],
  "files": [
    {
      "path": "registry/new-york-v4/examples/tooltip-demo.tsx",
      "content": "import { Button } from \"@/registry/new-york-v4/ui/button\"\nimport {\n  Tooltip,\n  TooltipContent,\n  TooltipTrigger,\n} from \"@/registry/new-york-v4/ui/tooltip\"\n\nexport default function TooltipDemo() {\n  return (\n    <Tooltip>\n      <TooltipTrigger asChild>\n        <Button variant=\"outline\">Hover</Button>\n      </TooltipTrigger>\n      <TooltipContent>\n        <p>Add to library</p>\n      </TooltipContent>\n    </Tooltip>\n  )\n}\n",
      "type": "registry:example"
    }
  ]
}