TableProps API Reference
Prop reference
| Title | Type | Default | Description |
|---|---|---|---|
| variant | 'clean' | 'clean' | experimental Currently only "clean" is available. |
| isStriped | boolean | false | Automatically stripe every second row. |
| fullWidth | boolean | false | Automatically expand the table to the size of its container. |
| align | 'top' | 'middle' | 'bottom' | 'top' | Default vertical alignment on cells |
| className | string | โ | Apply additional classNames to the root element, overriding default styles. |
| style | CSSProperties | โ | Apply optional CSSProperties to the root element. |
* Props marked with an asterisk are required.
CSS target reference
| Export | CSS Class Target | Description |
|---|---|---|
| TableTargetClassRoot | .NPUI-Table-root | โ |
Exports are available from /src/components/table/table.tsx or from
Related APIs