ui · Primitive
DataTableHeader
@devalok/shilp-sutra/uiView in Storybook Hand-curated previews ship in rolling waves. See it live in Storybook →
Reference
Internal sub-component of DataTable. Not exported to consumers.
Usage
This component is used internally by <DataTable> and should not be imported directly.
See DataTable for the public API.
Composability
- Internal only. Renders the thead + column headers for DataTable. Reads sort state + column definitions from DataTableContext.
- Customization goes through DataTable's
columnsprop (column definitions are TanStack ColumnDef<TData> — header, sortable, filter, etc. all declared there).
Changes
v0.32.0
- Extracted from DataTable monolith into focused sub-component.