{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "extends": "none",
  "name": "toast-positions-example",
  "title": "Toast Positions",
  "description": "toast-positions-example",
  "dependencies": [
    "sonner"
  ],
  "registryDependencies": [
    "https://intentui.com/r/button"
  ],
  "files": [
    {
      "path": "src/components/examples/statuses/toast/toast-positions-example.tsx",
      "content": "\"use client\"\n\nimport { toast, type ToastT } from \"sonner\"\nimport { Button } from \"@/components/ui/button\"\n\nconst positions: ToastT[\"position\"][] = [\n  \"top-left\",\n  \"top-right\",\n  \"bottom-left\",\n  \"bottom-right\",\n  \"top-center\",\n  \"bottom-center\",\n]\n\nexport default function ToastPositionsDemo() {\n  return (\n    <div className=\"flex flex-wrap gap-1.5\">\n      {positions.map((position) => (\n        <Button\n          intent=\"outline\"\n          size=\"sm\"\n          key={position}\n          onPress={() =>\n            toast(\"The registration is successful, click here to continue.\", { position })\n          }\n        >\n          {position}\n        </Button>\n      ))}\n    </div>\n  )\n}\n",
      "type": "registry:page",
      "target": "app/toast-positions-example/page.tsx"
    }
  ],
  "type": "registry:page"
}