Skip to content

Latest commit

 

History

History
25 lines (15 loc) · 880 Bytes

table-plugin.usehtmltableprops.md

File metadata and controls

25 lines (15 loc) · 880 Bytes

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

useHtmlTableProps() function

Extract props for the HTMLTable component from renderer function arguments. This function is especially usefull for custom table renderers.

Signature:

export default function useHtmlTableProps({ style, tnode }: CustomRendererProps<TBlock>, tableConfig?: TableConfig): HTMLTableProps;

Parameters

Parameter Type Description
{ style, tnode } CustomRendererProps<TBlock>
tableConfig TableConfig Override config options.

Returns:

HTMLTableProps