mirror of
https://github.com/TanStack/table.git
synced 2026-11-18 18:55:54 +00:00
* feat: support infinite pagination page sizes * add devtools to all with-tanstack examples * ci: apply automated fixes --------- Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
694 B
694 B
| id | title |
|---|---|
| flexRender | flexRender |
Function: flexRender()
function flexRender<TProps>(Comp, props): ReactNode | Element;
Defined in: react-table/src/FlexRender.tsx:45
If rendering headers, cells, or footers with custom markup, use flexRender instead of cell.getValue() or cell.renderValue().
Type Parameters
TProps
TProps extends object
Parameters
Comp
Renderable<TProps>
props
TProps
Returns
ReactNode | Element
Example
flexRender(cell.column.columnDef.cell, cell.getContext())