TableRtl() — ui Function Reference
Architecture documentation for the TableRtl() function in table-rtl.tsx from the ui codebase.
Entity Profile
Dependency Diagram
graph TD 58a2cfbb_6d76_80a1_18fe_a5db58169cf7["TableRtl()"] 40ae9fc3_e081_fc7d_b84e_7f9c398d1802["table-rtl.tsx"] 58a2cfbb_6d76_80a1_18fe_a5db58169cf7 -->|defined in| 40ae9fc3_e081_fc7d_b84e_7f9c398d1802 style 58a2cfbb_6d76_80a1_18fe_a5db58169cf7 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
apps/v4/examples/radix/table-rtl.tsx lines 119–151
export function TableRtl() {
const { dir, t } = useTranslation(translations, "ar")
return (
<Table dir={dir}>
<TableCaption>{t.caption}</TableCaption>
<TableHeader>
<TableRow>
<TableHead className="w-[100px]">{t.invoice}</TableHead>
<TableHead>{t.status}</TableHead>
<TableHead>{t.method}</TableHead>
<TableHead className="text-right">{t.amount}</TableHead>
</TableRow>
</TableHeader>
<TableBody>
{invoices.map((invoice) => (
<TableRow key={invoice.invoice}>
<TableCell className="font-medium">{invoice.invoice}</TableCell>
<TableCell>{t[invoice.paymentStatus]}</TableCell>
<TableCell>{t[invoice.paymentMethod]}</TableCell>
<TableCell className="text-right">{invoice.totalAmount}</TableCell>
</TableRow>
))}
</TableBody>
<TableFooter>
<TableRow>
<TableCell colSpan={3}>{t.total}</TableCell>
<TableCell className="text-right">$2,500.00</TableCell>
</TableRow>
</TableFooter>
</Table>
)
}
Domain
Subdomains
Defined In
Source
Frequently Asked Questions
What does TableRtl() do?
TableRtl() is a function in the ui codebase, defined in apps/v4/examples/radix/table-rtl.tsx.
Where is TableRtl() defined?
TableRtl() is defined in apps/v4/examples/radix/table-rtl.tsx at line 119.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free