@koober/react-native-markup-view

[DRAFT] A react-native view that can display selectable text from a markup language like HTML.

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
@koober/react-native-markup-view
1.3.59 months ago3 years agoMinified + gzip package size for @koober/react-native-markup-view in KB

Readme

react-native-markup-view
\DRAFT\] A react-native view that can display selectable text from a markup language like HTML.

Installation

npm install @koober/react-native-markup-view react-native-webview
cd ios && pod install

Usage

import MarkupView from '@koober/react-native-markup-view';

// ...

export default function App() {
  return (
    <MarkupView
      source={{
          encoding: 'text/html',
          content: `<h1>Hello World!</h1>`
        }}
    />
  );
}

License

MIT