Home > @uniformdev/richtext > renderHtmlElement

renderHtmlElement() function

Signature:

declare function renderHtmlElement(tag: string, attributes: Map<string, string> | null, children?: string): string;

Parameters

ParameterTypeDescription
tagstring
attributesMap<string, string> | null
childrenstring(Optional)

Returns:

string