Lawtext core references / core/src/renderer/common/html
core/src/renderer/common/html
Interfaces
Type Aliases
HTMLGetFigData()
HTMLGetFigData = (
src) =>HTMLFigData|null
Defined in: core/src/renderer/common/html.tsx:18
Parameters
src
string
Returns
HTMLFigData | null
WrapperComponentProps
WrapperComponentProps =
object
Defined in: core/src/renderer/common/html.tsx:7
Properties
ChildComponent
ChildComponent:
React.ComponentType<HTMLComponentProps>
Defined in: core/src/renderer/common/html.tsx:10
childProps
childProps:
HTMLComponentProps
Defined in: core/src/renderer/common/html.tsx:9
htmlComponentID
htmlComponentID:
string
Defined in: core/src/renderer/common/html.tsx:8
Variables
HTMLMarginSpan
constHTMLMarginSpan:React.FC<React.HTMLAttributes<HTMLSpanElement>>
Defined in: core/src/renderer/common/html.tsx:5
Functions
elProps()
elProps(
el,htmlOptions):Record<string,string>
Defined in: core/src/renderer/common/html.tsx:56
Parameters
el
htmlOptions
Returns
Record<string, string>
wrapHTMLComponent()
wrapHTMLComponent<
P,TComponentID>(htmlComponentID,Component):FC<P&HTMLComponentProps> &object
Defined in: core/src/renderer/common/html.tsx:37
Type Parameters
P
P
TComponentID
TComponentID extends string
Parameters
htmlComponentID
TComponentID
Component
ComponentType<P & HTMLComponentProps>
Returns
FC<P & HTMLComponentProps> & object