Home > @native-html/heuristic-table-plugin
Function | Description |
---|---|
useHtmlTableCellProps({ propsFromParent, ...props }) | Customize td and th renderers while reusing default cell renderer logic. |
useHtmlTableProps({ sharedProps, tnode, ...props }, options) | Customize the rendering logic of the table renderer via this hook. |
Interface | Description |
---|---|
CellProperties | |
Coordinates | |
DisplayCell | |
HeuristicTablePluginConfig | Options to customize this plugin renderers. |
HTMLTableProps | Props for the HTMLTable component. |
TableCell | A cell is a unit of display for one th or td in a table, with coordinates and lengths relative to the matrix (rows, columns) coordinate system.0 1 2 → x 1 . . 2 . . ↓ y |
TableCellPropsFromParent | Props received by td and th custom renderers in propsFromParent prop field. |
TableFlexColumnContainer | A container to display items in columns (think 'flex-direction: column') |
TableFlexRowContainer | A container to display items in row. (think 'flex-direction: row') |
TableRoot |
Variable | Description |
---|---|
HTMLTable | A component to render tables. |
renderers | Renderers to be merged in the renderers prop of RenderHTML component. |
TableRenderer | A 100% native renderer component for table tag. |
TdRenderer | The renderer component for td tag. |
ThRenderer | The renderer component for th tag. |