Lawtext core references • Docs
Lawtext core references / core/src/renderer/rules/figRun
core/src/renderer/rules/figRun
Index
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
,deprecatedLegacyContext
?):ReactNode
Parameters
• props: FigRunProps
& DOCXComponentProps
• deprecatedLegacyContext?: any
Deprecated
See
React Docs (opens in a new tab)
Returns
ReactNode
Defined in
core/src/renderer/rules/figRun.tsx:77 (opens in a new tab)
DOCXFigRunWithFigData()
DOCXFigRunWithFigData(
props
):Element
Parameters
• props: DOCXComponentProps
& FigRunProps
& object
Returns
Element
Defined in
core/src/renderer/rules/figRun.tsx:104 (opens in a new tab)
HTMLFigRun()
HTMLFigRun(
props
,deprecatedLegacyContext
?):ReactNode
Parameters
• props: FigRunProps
& HTMLComponentProps
• deprecatedLegacyContext?: any
Deprecated
See
React Docs (opens in a new tab)
Returns
ReactNode
Defined in
core/src/renderer/rules/figRun.tsx:27 (opens in a new tab)
HTMLFigRunWithFigData()
HTMLFigRunWithFigData(
props
):Element
Parameters
• props: HTMLComponentProps
& FigRunProps
& object
Returns
Element