Skip to main content

Interface: HTMLReactParserOptions

Defined in: node_modules/html-react-parser/index.d.ts:23

Properties​

htmlparser2?​

optional htmlparser2: HTMLParser2Options

Defined in: node_modules/html-react-parser/index.d.ts:24


library?​

optional library: object

Defined in: node_modules/html-react-parser/index.d.ts:26

Index Signature​

[key: string]: any

cloneElement()​

cloneElement: (element, props?, ...children) => Element

Parameters​
element​

Element

props?​

object

children?​

...any

Returns​

Element

createElement()​

createElement: (type, props?, ...children) => Element

Parameters​
type​

any

props?​

object

children?​

...any

Returns​

Element

isValidElement()​

isValidElement: (element) => boolean

Parameters​
element​

any

Returns​

boolean


replace()?​

optional replace: (domNode) => undefined | null | false | void | object | Element

Defined in: node_modules/html-react-parser/index.d.ts:37

Parameters​

domNode​

DOMNode

Returns​

undefined | null | false | void | object | Element


trim?​

optional trim: boolean

Defined in: node_modules/html-react-parser/index.d.ts:41