Library
core
src
renderer
common
html
Readme

Lawtext core referencesDocs


Lawtext core references / core/src/renderer/common/html

core/src/renderer/common/html

Index

Interfaces

Type Aliases

HTMLGetFigData()

HTMLGetFigData: (src) => HTMLFigData | null

Parameters

src: string

Returns

HTMLFigData | null

Defined in

core/src/renderer/common/html.tsx:18 (opens in a new tab)


WrapperComponentProps

WrapperComponentProps: object

Type declaration

ChildComponent

ChildComponent: React.ComponentType<HTMLComponentProps>

childProps

childProps: HTMLComponentProps

htmlComponentID

htmlComponentID: string

Defined in

core/src/renderer/common/html.tsx:7 (opens in a new tab)

Functions

HTMLMarginSpan()

HTMLMarginSpan(props, deprecatedLegacyContext?): ReactNode

Parameters

props: HTMLAttributes<HTMLSpanElement>

deprecatedLegacyContext?: any

Deprecated

See

React Docs (opens in a new tab)

Returns

ReactNode

Defined in

core/src/renderer/common/html.tsx:5 (opens in a new tab)


elProps()

elProps(el, htmlOptions): Record<string, string>

Parameters

el: EL

htmlOptions: HTMLOptions

Returns

Record<string, string>

Defined in

core/src/renderer/common/html.tsx:56 (opens in a new tab)


wrapHTMLComponent()

wrapHTMLComponent<P, TComponentID>(htmlComponentID, Component): FC<P & HTMLComponentProps> & object

Type Parameters

P

TComponentID extends string

Parameters

htmlComponentID: TComponentID

Component: ComponentType<P & HTMLComponentProps>

Returns

FC<P & HTMLComponentProps> & object

Defined in

core/src/renderer/common/html.tsx:37 (opens in a new tab)