@native-html/table-plugin
Version:
🔠A WebView-based plugin to render tables in react-native-render-html
43 lines (33 loc) • 3.21 kB
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [@native-html/table-plugin](./table-plugin.md) > [TableStyleSpecs](./table-plugin.tablestylespecs.md)
## TableStyleSpecs interface
An object describing how to generate styles. See [cssRulesFromSpecs()](./table-plugin.cssrulesfromspecs.md)<!-- -->.
<img src="https://raw.githubusercontent.com/native-html/table-plugin/master/images/TableStyleSpecs.png" />
<b>Signature:</b>
```typescript
export interface TableStyleSpecs
```
## Properties
| Property | Type | Description |
| --- | --- | --- |
| [cellPaddingEm](./table-plugin.tablestylespecs.cellpaddingem.md) | number | Spacing between cells, in em. |
| [columnsBorderWidthPx](./table-plugin.tablestylespecs.columnsborderwidthpx.md) | number | The width of the border between columns. |
| [fitContainerHeight](./table-plugin.tablestylespecs.fitcontainerheight.md) | boolean | Expand table to HTML height. \*\*You must une unconstrained height for this to work!\*\* See [TableConfig.computeContainerHeight](./table-plugin.tableconfig.computecontainerheight.md)<!-- -->. |
| [fitContainerWidth](./table-plugin.tablestylespecs.fitcontainerwidth.md) | boolean | Expand table to HTML width. |
| [fontFamily](./table-plugin.tablestylespecs.fontfamily.md) | string | Font family. |
| [fontSizePx](./table-plugin.tablestylespecs.fontsizepx.md) | number \| null | Font size, in pixels. |
| [linkColor](./table-plugin.tablestylespecs.linkcolor.md) | string | Link of anchors. |
| [outerBorderColor](./table-plugin.tablestylespecs.outerbordercolor.md) | string | The border color of the table frame. |
| [outerBorderWidthPx](./table-plugin.tablestylespecs.outerborderwidthpx.md) | number | The border width for the table frame. |
| [rowsBorderWidthPx](./table-plugin.tablestylespecs.rowsborderwidthpx.md) | number | The width of the border between rows. |
| [selectableText](./table-plugin.tablestylespecs.selectabletext.md) | boolean | Will text be selectable. |
| [tdBorderColor](./table-plugin.tablestylespecs.tdbordercolor.md) | string | Table cell border color. |
| [thBorderColor](./table-plugin.tablestylespecs.thbordercolor.md) | string | Table header cell border color. |
| [thEvenBackground](./table-plugin.tablestylespecs.thevenbackground.md) | string | Table even header cell background color. |
| [thEvenColor](./table-plugin.tablestylespecs.thevencolor.md) | string | Table even header cell text color. |
| [thOddBackground](./table-plugin.tablestylespecs.thoddbackground.md) | string | Table even header cell background color. |
| [thOddColor](./table-plugin.tablestylespecs.thoddcolor.md) | string | Table odd header cell text color. |
| [trEvenBackground](./table-plugin.tablestylespecs.trevenbackground.md) | string | Table even row background color. |
| [trEvenColor](./table-plugin.tablestylespecs.trevencolor.md) | string | Table even row text color. |
| [trOddBackground](./table-plugin.tablestylespecs.troddbackground.md) | string | Table odd row background color. |
| [trOddColor](./table-plugin.tablestylespecs.troddcolor.md) | string | Table odd row text color. |