Lawtext core references / core/src/renderer/rules/table
core/src/renderer/rules/table
Interfaces
Variables
HTMLTableCSS
const
HTMLTableCSS: "\n.table {\n border-collapse: collapse;\n text-indent: 0;\n table-layout: fixed;\n width: calc(100% - var(--margin-left));\n}\n\n.table-column {\n border: 1px solid black;\n min-height: 1em;\n height: 1em;\n}\n\n.table-header-column {\n border: 1px solid black;\n min-height: 1em;\n height: 1em;\n}\n"
Defined in: core/src/renderer/rules/table.tsx:25 (opens in a new tab)
Functions
DOCXTable()
DOCXTable(
props
):ReactNode
|Promise
<ReactNode
>
Defined in: core/src/renderer/rules/table.tsx:271 (opens in a new tab)
Parameters
props
TableProps
& DOCXComponentProps
Returns
ReactNode
| Promise
<ReactNode
>
DOCXTableColumn()
DOCXTableColumn(
props
):ReactNode
|Promise
<ReactNode
>
Defined in: core/src/renderer/rules/table.tsx:345 (opens in a new tab)
Parameters
props
TableColumnProps
& DOCXComponentProps
Returns
ReactNode
| Promise
<ReactNode
>
DOCXTableRow()
DOCXTableRow(
props
):ReactNode
|Promise
<ReactNode
>
Defined in: core/src/renderer/rules/table.tsx:304 (opens in a new tab)
Parameters
props
TableRowProps
& DOCXComponentProps
Returns
ReactNode
| Promise
<ReactNode
>
HTMLTable()
HTMLTable(
props
):ReactNode
|Promise
<ReactNode
>
Defined in: core/src/renderer/rules/table.tsx:46 (opens in a new tab)
Parameters
props
TableProps
& HTMLComponentProps
Returns
ReactNode
| Promise
<ReactNode
>
HTMLTableColumn()
HTMLTableColumn(
props
):ReactNode
|Promise
<ReactNode
>
Defined in: core/src/renderer/rules/table.tsx:104 (opens in a new tab)
Parameters
props
TableColumnProps
& HTMLComponentProps
Returns
ReactNode
| Promise
<ReactNode
>
HTMLTableRow()
HTMLTableRow(
props
):ReactNode
|Promise
<ReactNode
>
Defined in: core/src/renderer/rules/table.tsx:76 (opens in a new tab)
Parameters
props
TableRowProps
& HTMLComponentProps
Returns
ReactNode
| Promise
<ReactNode
>