Skip to content

Latest commit

 

History

History
236 lines (106 loc) · 3.39 KB

File metadata and controls

236 lines (106 loc) · 3.39 KB

Home > @native-html/heuristic-table-plugin

heuristic-table-plugin package

Functions

Function

Description

useHtmlTableCellProps({ propsFromParent, ...props }, input)

Customize td and th renderers while reusing default cell renderer logic.

useHtmlTableProps({ sharedProps, tnode, ...props }, input, options)

Customize the rendering logic of the table renderer via this hook.

Interfaces

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

Variables

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.