@native-html/table-plugin
Version:
🔠A WebView-based plugin to render tables in react-native-render-html
26 lines (15 loc) • 880 B
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [@native-html/table-plugin](./table-plugin.md) > [useHtmlTableProps](./table-plugin.usehtmltableprops.md)
## useHtmlTableProps() function
Extract props for the HTMLTable component from renderer function arguments. This function is especially usefull for custom table renderers.
<b>Signature:</b>
```typescript
export default function useHtmlTableProps({ style, tnode }: CustomRendererProps<TBlock>, tableConfig?: TableConfig): HTMLTableProps;
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
| { style, tnode } | CustomRendererProps<TBlock> | |
| tableConfig | [TableConfig](./table-plugin.tableconfig.md) | Override config options. |
<b>Returns:</b>
[HTMLTableProps](./table-plugin.htmltableprops.md)