{
  "name": "sonner-demo",
  "type": "registry:example",
  "registryDependencies": [
    "sonner"
  ],
  "files": [
    {
      "path": "example/sonner-demo.tsx",
      "content": "import { toast } from \"sonner\"\n\nimport { Button } from \"@/registry/new-york/ui/button\"\n\nexport default function SonnerDemo() {\n  return (\n    <Button\n      variant=\"outline\"\n      onClick={() =>\n        toast(\"Event has been created\", {\n          description: \"Sunday, December 03, 2023 at 9:00 AM\",\n          action: {\n            label: \"Undo\",\n            onClick: () => console.log(\"Undo\"),\n          },\n        })\n      }\n    >\n      Show Toast\n    </Button>\n  )\n}\n",
      "type": "registry:example",
      "target": ""
    }
  ]
}