Render HTML

Content Type: Widget
Categories: User Interface

Overview

A React Native based widget to display html formatted text on a device. Can be used as an alternative to the standard Webview widget. Content is passed with a string attribute and some styling options can be provided. Based on: https://www.npmjs.com/package/react-native-render-html

Documentation

Use this component to render html formatted text on a native page. Content is passed via a string attribute. All other parameters are also mandatory. You can add left and right margin, as well as text size. The text size applies to normal text. Headers are incremented in size with +1 starting at H5, resulting in H1 tag to have text size + 5. You can choose different colors for text and headers.

Hyperlinks are clickable and text is selectable after rendering.

Releases

Version: 1.0.0
Framework Version: 8.17.0
Release Notes: First version. Based on https://www.npmjs.com/package/react-native-render-html. Known limitation: iframe containing width and height values might not be displayed in 100% size. When height and width are removed before rendering the content, it should be ok.