{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "table-basic",
  "title": "Basic table",
  "description": "Basic table, built from the table component.",
  "registryDependencies": [
    "table"
  ],
  "files": [
    {
      "path": "registry/patterns/table-basic/table-basic.tsx",
      "content": "/**\n * Basic table - adapted for tealmac UI from the ReUI example \"c-table-1\"\n * (https://github.com/keenthemes/reui), MIT License, Copyright (c) 2025\n * Keenthemes Inc. The full licence text is in THIRD_PARTY_NOTICES.md.\n * Changes: tealmac UI import paths and theme tokens, lucide icons, logical\n * (RTL-safe) spacing and alignment, reduced-motion support and sample\n * content.\n */\nimport {\n  Table,\n  TableBody,\n  TableCaption,\n  TableCell,\n  TableHead,\n  TableHeader,\n  TableRow,\n} from \"@/components/ui/table\"\n\nconst invoices = [\n  {\n    invoice: \"INV001\",\n    paymentStatus: \"Paid\",\n    totalAmount: \"$250.00\",\n    paymentMethod: \"Credit Card\",\n  },\n  {\n    invoice: \"INV002\",\n    paymentStatus: \"Pending\",\n    totalAmount: \"$150.00\",\n    paymentMethod: \"PayPal\",\n  },\n  {\n    invoice: \"INV003\",\n    paymentStatus: \"Unpaid\",\n    totalAmount: \"$350.00\",\n    paymentMethod: \"Bank Transfer\",\n  },\n]\n\nexport function TableBasic() {\n  return (\n    <div className=\"mx-auto flex w-full max-w-lg flex-col\">\n      <Table>\n        <TableCaption>A list of your recent invoices.</TableCaption>\n        <TableHeader>\n          <TableRow>\n            <TableHead className=\"w-[100px]\">Invoice</TableHead>\n            <TableHead>Status</TableHead>\n            <TableHead>Method</TableHead>\n            <TableHead className=\"text-end\">Amount</TableHead>\n          </TableRow>\n        </TableHeader>\n        <TableBody>\n          {invoices.map((invoice) => (\n            <TableRow key={invoice.invoice}>\n              <TableCell className=\"text-sm font-medium\">\n                {invoice.invoice}\n              </TableCell>\n              <TableCell className=\"text-sm\">{invoice.paymentStatus}</TableCell>\n              <TableCell className=\"text-sm\">{invoice.paymentMethod}</TableCell>\n              <TableCell className=\"text-end text-sm\">\n                {invoice.totalAmount}\n              </TableCell>\n            </TableRow>\n          ))}\n        </TableBody>\n      </Table>\n    </div>\n  )\n}\n",
      "type": "registry:block"
    }
  ],
  "type": "registry:block"
}