{ "$schema": "https://ui.shadcn.com/schema/registry-item.json", "name": "table-style-default", "type": "registry:block", "title": "table-style-default", "registryDependencies": [ "https://retroui.dev/r/table.json" ], "files": [ { "path": "preview/components/table-style-default.tsx", "content": "import { Badge } from \"@/components/retroui\"\nimport {\n Table,\n} from \"@/components/retroui/Table\"\n\nconst invoices = [\n {\n invoice: \"INV001\",\n customer: \"John Doe\",\n paymentStatus: \"Paid\",\n totalAmount: \"$250.00\",\n paymentMethod: \"Credit Card\",\n },\n {\n invoice: \"INV002\",\n customer: \"Jane Doe\",\n paymentStatus: \"Pending\",\n totalAmount: \"$150.00\",\n paymentMethod: \"PayPal\",\n },\n {\n invoice: \"INV003\",\n customer: \"Mark Doe\",\n paymentStatus: \"Unpaid\",\n totalAmount: \"$350.00\",\n paymentMethod: \"Bank Transfer\",\n },\n {\n invoice: \"INV004\",\n customer: \"Robert Doe\",\n paymentStatus: \"Paid\",\n totalAmount: \"$450.00\",\n paymentMethod: \"Credit Card\",\n },\n {\n invoice: \"INV005\",\n customer: \"Isabella Doe\",\n paymentStatus: \"Paid\",\n totalAmount: \"$550.00\",\n paymentMethod: \"PayPal\",\n },\n {\n invoice: \"INV006\",\n customer: \"Mrs. Doe\",\n paymentStatus: \"Pending\",\n totalAmount: \"$200.00\",\n paymentMethod: \"Bank Transfer\",\n },\n {\n invoice: \"INV007\",\n customer: \"Mr. Doe\",\n paymentStatus: \"Unpaid\",\n totalAmount: \"$300.00\",\n paymentMethod: \"Credit Card\",\n },\n]\n\nexport default function TableStyleDefault() {\n return (\n \n \n \n Invoice\n Customer\n Status\n Method\n Amount\n \n \n \n {invoices.map((invoice) => (\n \n {invoice.invoice}\n {invoice.customer}\n {invoice.paymentStatus}\n {invoice.paymentMethod}\n {invoice.totalAmount}\n \n ))}\n \n \n \n Total\n $2,500.00\n \n \n
\n )\n}", "type": "registry:block", "target": "components/retroui/preview/table-style-default.tsx" } ] }