Home > @native-html/table-plugin > useHtmlTableProps
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;
Parameter | Type | Description |
---|---|---|
{ style, tnode } | CustomRendererProps<TBlock> | |
tableConfig | TableConfig | Override config options. |
Returns: