Lawtext core references / core/src/renderer/rules/figRun
core/src/renderer/rules/figRun
Interfaces
Variables
HTMLFigRunCSS
const
HTMLFigRunCSS: "\n.fig-iframe {\n width: 100%;\n height: 80vh;\n border: 1px solid gray;\n}\n\n.fig-img {\n max-width: 100%;\n}\n"
Defined in: core/src/renderer/rules/figRun.tsx:15 (opens in a new tab)
Functions
DOCXFigRun()
DOCXFigRun(
props
):ReactNode
|Promise
<ReactNode
>
Defined in: core/src/renderer/rules/figRun.tsx:77 (opens in a new tab)
Parameters
props
FigRunProps
& DOCXComponentProps
Returns
ReactNode
| Promise
<ReactNode
>
DOCXFigRunWithFigData()
DOCXFigRunWithFigData(
props
):Element
Defined in: core/src/renderer/rules/figRun.tsx:104 (opens in a new tab)
Parameters
props
DOCXComponentProps
& FigRunProps
& object
Returns
Element
HTMLFigRun()
HTMLFigRun(
props
):ReactNode
|Promise
<ReactNode
>
Defined in: core/src/renderer/rules/figRun.tsx:27 (opens in a new tab)
Parameters
props
FigRunProps
& HTMLComponentProps
Returns
ReactNode
| Promise
<ReactNode
>
HTMLFigRunWithFigData()
HTMLFigRunWithFigData(
props
):Element
Defined in: core/src/renderer/rules/figRun.tsx:50 (opens in a new tab)
Parameters
props
HTMLComponentProps
& FigRunProps
& object
Returns
Element