{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "stack-trace-demo",
  "title": "Stack Trace: Example",
  "description": "A TypeError with library frames folded.",
  "dependencies": [],
  "registryDependencies": [
    "https://ui.cuelark.com/r/stack-trace.json"
  ],
  "files": [
    {
      "path": "src/registry/cuelark/examples/stack-trace-demo.tsx",
      "content": "import { StackTrace } from \"@/registry/cuelark/ui/stack-trace\";\n\nconst trace = `TypeError: Cannot read properties of undefined (reading 'taxId')\n    at tax (src/billing/tax.ts:3:22)\n    at total (src/billing/invoice.ts:18:30)\n    at renderInvoice (src/pdf/render.ts:57:11)\n    at processTicksAndRejections (node:internal/process/task_queues:95:5)\n    at async Promise.all (index 0)\n    at handler (node_modules/@tanstack/start/dist/server.js:212:9)`;\n\nexport default function StackTraceDemo() {\n  return <StackTrace className=\"w-full max-w-xl\" trace={trace} />;\n}\n",
      "type": "registry:component"
    }
  ],
  "categories": [
    "stack-trace",
    "example"
  ],
  "type": "registry:component"
}