PatternsData table
DataTable API
Every prop of DataTable, generated from the package manifest.
import { DataTable } from '@oceanic-hub/brand-system'- Layer
- patterns — Generic composites — the shared shell and the shared status vocabulary that make every product inherit the look. The reason this package exists.
- Exports
- DataTabletypes: DataTableBaseProps · DataTableColumn · DataTableGroup · DataTableProps · DataTableReorderMode · DataTableSort
- Variants
- reorderable: both | buttons | drag
- Contract
- packages/brand-system/src/components/data-table.contract.test-d.ts
- Demos
- 8 on the DataTable page — rendered live, hydrated
- Source
- packages/brand-system/src/components/data-table.tsx
Generated from manifest/component-manifest.json, so it cannot drift from the source. For what DataTable is for, how it composes and what it looks like, see DataTable.
DataTable
DataTableProps<Row>
Prop
Type
Also accepts everything from Omit<React.HTMLAttributes<HTMLDivElement>, 'children'>.