Table
Semantic table primitives.
packages/ui/src/components/ui/table.tsx
Import
Subpath export:
@marktiderman/genesis-uiimport { Table } from "@marktiderman/genesis-ui";Exports
Re-exported from
@marktiderman/genesis-ui.- Table
- TableHeader
- TableBody
- TableFooter
- TableHead
- TableRow
- TableCell
- TableCaption
Components
Auto-generated from TypeScript source via
react-docgen-typescript.Table
| Prop | Type | Default | Description |
|---|---|---|---|
| containerClassName | string | — | Classes for the scroll container that wraps the `<table>`, merged after its defaults (`relative w-full overflow-auto`). A sticky header needs the container to be the scroll box: give it a height, e.g. `containerClassName="max-h-96"`, and the header `className="sticky top-0 bg-background"`. `className` still styles the `<table>` itself. |
TableHeader
No declared props.
TableBody
No declared props.
TableFooter
No declared props.
TableHead
No declared props.
TableRow
No declared props.
TableCell
No declared props.
TableCaption
No declared props.