TableFooterExample() — ui Function Reference
Architecture documentation for the TableFooterExample() function in table-footer.tsx from the ui codebase.
Entity Profile
Dependency Diagram
graph TD b201ce24_f56a_0ab6_b6fc_b7063eb6ffed["TableFooterExample()"] 637782ae_20ab_d6b7_61d8_79cfceac3c4b["table-footer.tsx"] b201ce24_f56a_0ab6_b6fc_b7063eb6ffed -->|defined in| 637782ae_20ab_d6b7_61d8_79cfceac3c4b style b201ce24_f56a_0ab6_b6fc_b7063eb6ffed fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
apps/v4/examples/base/table-footer.tsx lines 57–87
export function TableFooterExample() {
return (
<Table>
<TableCaption>A list of your recent invoices.</TableCaption>
<TableHeader>
<TableRow>
<TableHead className="w-[100px]">Invoice</TableHead>
<TableHead>Status</TableHead>
<TableHead>Method</TableHead>
<TableHead className="text-right">Amount</TableHead>
</TableRow>
</TableHeader>
<TableBody>
{invoices.slice(0, 3).map((invoice) => (
<TableRow key={invoice.invoice}>
<TableCell className="font-medium">{invoice.invoice}</TableCell>
<TableCell>{invoice.paymentStatus}</TableCell>
<TableCell>{invoice.paymentMethod}</TableCell>
<TableCell className="text-right">{invoice.totalAmount}</TableCell>
</TableRow>
))}
</TableBody>
<TableFooter>
<TableRow>
<TableCell colSpan={3}>Total</TableCell>
<TableCell className="text-right">$2,500.00</TableCell>
</TableRow>
</TableFooter>
</Table>
)
}
Domain
Subdomains
Defined In
Source
Frequently Asked Questions
What does TableFooterExample() do?
TableFooterExample() is a function in the ui codebase, defined in apps/v4/examples/base/table-footer.tsx.
Where is TableFooterExample() defined?
TableFooterExample() is defined in apps/v4/examples/base/table-footer.tsx at line 57.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free