{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "code-block-demo",
  "title": "Code Block: Example",
  "description": "Two highlighted lines.",
  "dependencies": [],
  "registryDependencies": [
    "https://ui.cuelark.com/r/code-block.json"
  ],
  "files": [
    {
      "path": "src/registry/cuelark/examples/code-block-demo.tsx",
      "content": "import { CodeBlock } from \"@/registry/cuelark/ui/code-block\";\n\nconst code = `export function tax(i: Invoice) {\n  if (!i.customer.taxId) return 0\n  return Math.round(i.subtotal * i.rate * 100) / 100\n}\n\nexport function total(i: Invoice) {\n  return i.subtotal + tax(i)\n}`;\n\nexport default function CodeBlockDemo() {\n  return <CodeBlock className=\"w-full max-w-lg\" code={code} language=\"ts\" filename=\"billing/tax.ts\" highlight={[2, 3]} />;\n}\n",
      "type": "registry:component"
    }
  ],
  "categories": [
    "code-block",
    "example"
  ],
  "type": "registry:component"
}