Files
supabase/apps/design-system/registry/default/example/empty-state-zero-items-table.tsx
Danny White 0d8ec0d011 feat(design-system): improve table docs (#41215)
* docs updates

* docs expansion

* minor docs fix

* improvements

* fix dependencies

* docs expansion

* more table examples

* map over data

* improve copy

* Update apps/design-system/registry/default/example/table-row-link-actions.tsx

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>

* Update apps/design-system/registry/default/example/table-row-link-actions.tsx

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>

* fixes

* fix

---------

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2025-12-11 13:38:26 +11:00

28 lines
953 B
TypeScript

import { Card, Table, TableBody, TableCell, TableHead, TableHeader, TableRow } from 'ui'
export default function EmptyStateZeroItemsTable() {
return (
<Card className="w-full">
<Table>
<TableHeader>
<TableRow>
<TableHead className="text-foreground-muted">Name</TableHead>
<TableHead className="text-foreground-muted">Created</TableHead>
<TableHead className="text-foreground-muted">Updated</TableHead>
</TableRow>
</TableHeader>
<TableBody>
<TableRow className="[&>td]:hover:bg-inherit">
<TableCell colSpan={3}>
<p className="text-sm text-foreground">No results found</p>
<p className="text-sm text-foreground-lighter">
Your search for test did not return any results
</p>
</TableCell>
</TableRow>
</TableBody>
</Table>
</Card>
)
}