@native-html/table-plugin
Version:
🔠A WebView-based plugin to render tables in react-native-render-html
19 lines (10 loc) • 867 B
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [@native-html/table-plugin](./table-plugin.md) > [TableConfig](./table-plugin.tableconfig.md) > [computeContainerHeight](./table-plugin.tableconfig.computecontainerheight.md)
## TableConfig.computeContainerHeight property
A function which will compute container's height given the table content height.
<b>Signature:</b>
```typescript
computeContainerHeight?: (state: TableContentHeightState) => number | null;
```
## Remarks
For each instance, this function will be called twice. First time on container mount, and second time when the DOM has been mounted inside of `WebView`<!-- -->. At that moment, the state will hold the real content height. See [TableContentHeightState](./table-plugin.tablecontentheightstate.md)<!-- -->.