Skip to main content

RenderHTML

export
function RenderHTML(
ย ย props: RenderHTMLProps
) : ReactElement

Render HTML text in native views!

Remarks

If your application uses many instances of this component, you should share the render engine across those instances via the โ€‹TRenderEngineProvider and โ€‹RenderHTMLConfigProvider components, and render the HTML with โ€‹RenderHTMLSource instead. That should significantly increase performance.

warning

It should never be a child of a React Native Text element, as the layout will break.

Parameters#

props#

required