TableCellSlotProps
TableCellSlotProps =
object
Defined in: packages/ui/src/types.ts:197
Props for the table cell plugin slot.
Renders a single cell (th or td) inside a TableRowSlotProps.
Supports sortable column headers with directional indicators.
Properties
Section titled “Properties”children
Section titled “children”children:
ReactNode
Defined in: packages/ui/src/types.ts:199
Cell content.
header?
Section titled “header?”
optionalheader:boolean
Defined in: packages/ui/src/types.ts:201
Whether this cell is a header cell (th vs td).
onSort()?
Section titled “onSort()?”
optionalonSort: () =>void
Defined in: packages/ui/src/types.ts:207
Handler called when the user clicks to sort by this column.
Returns
Section titled “Returns”void
sortable?
Section titled “sortable?”
optionalsortable:boolean
Defined in: packages/ui/src/types.ts:203
Whether clicking this cell triggers sorting.
sortDirection?
Section titled “sortDirection?”
optionalsortDirection:"asc"|"desc"|null
Defined in: packages/ui/src/types.ts:205
Current sort direction for this column, or null if not sorted.