Interface: HTMLReactParserOptions
@headstartwp/core.HTMLReactParserOptions
Properties
htmlparser2
• Optional
htmlparser2: HTMLParser2Options
Defined in
node_modules/html-react-parser/index.d.ts:24
library
• Optional
library: Object
Index signature
▪ [key: string
]: any
Type declaration
Name | Type |
---|---|
cloneElement | (element : Element , props? : object , ...children : any ) => Element |
createElement | (type : any , props? : object , ...children : any ) => Element |
isValidElement | (element : any ) => boolean |
Defined in
node_modules/html-react-parser/index.d.ts:26
replace
• Optional
replace: (domNode
: DOMNode
) => undefined
| null
| false
| void
| object
| Element
Type declaration
▸ (domNode
): undefined
| null
| false
| void
| object
| Element
Parameters
Name | Type |
---|---|
domNode | DOMNode |
Returns
undefined
| null
| false
| void
| object
| Element
Defined in
node_modules/html-react-parser/index.d.ts:37
trim
• Optional
trim: boolean
Defined in
node_modules/html-react-parser/index.d.ts:41