Skip to main content
Version: 0.1.7

Kabelwerk Markup

The <KabelwerkMarkup> component converts an HTML string into a list of <Text> components — one for each <p> in the input.

You may want to use the <KabelwerkMarkup> component if you are overwriting the <KabelwerkMessage> component for rendering chat messages, but you do not want to implement your own HTML to React Native or markdown to React Native converter.

Example

<KabelwerkMarkup html="<p>hello!</p>" />

Props

html

The HTML string to render.

See also