@native-html/heuristic-table-plugin
Version:
🔠A 100% native component using heuristics to render tables in react-native-render-html
30 lines (18 loc) • 974 B
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [@native-html/heuristic-table-plugin](./heuristic-table-plugin.md) > [useHtmlTableProps](./heuristic-table-plugin.usehtmltableprops.md)
## useHtmlTableProps() function
Customize the rendering logic of the table renderer via this hook.
<b>Signature:</b>
```typescript
export default function useHtmlTableProps({ sharedProps, tnode, ...props }: CustomRendererProps<TBlock>, options?: {
overrideContentWidth?: number;
}): HTMLTableProps;
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
| { sharedProps, tnode, ...props } | CustomRendererProps<TBlock> | |
| options | { overrideContentWidth?: number; } | Customize this hook behavior. |
<b>Returns:</b>
[HTMLTableProps](./heuristic-table-plugin.htmltableprops.md)
props for the [HTMLTable](./heuristic-table-plugin.htmltable.md) component.