open-index/open-npm huggingface dataset:
npm package: @fobos531/react-native-render-html
Description: The hackable, full-featured Open Source HTML rendering solution for React Native.
Author: Jakov Glavina
Latest version: 6.4.1

## :computer: Install

```bash
npm install @fobos531/react-native-render-html
```

```bash
yarn add @fobos531/react-native-render-html
```

## :speedboat: Basic Usage

```jsx
import React from 'react';
import { useWindowDimensions } from 'react-native';
import RenderHtml from '@fobos531/react-native-render-html';

const source = {
  html: `
<p style='text-align:center;'>
  Hello World!
</p>`
};

export default function App() {
  const { width } = useWindowDimensions();
  return (
    <RenderHtml
      contentWidth={width}
      source={source}
    />
  );
}
```