The hackable, full-featured Open Source HTML rendering solution for React Native.
npm install react-native-html-engineThe hackable, full-featured Open Source HTML rendering solution for React Native.
This is a fork of react-native-render-html that is maintained by Juan D. Jara. I did change a lot of things, but the main goal is to keep the same API and features as the original repository. Maintaning the documentation sites and examples is not a priority of this fork, so please refer to the original repository for the most up-to-date information.
``sh`
npm install react-native-html-engine
`jsx
import React from 'react';
import { useWindowDimensions } from 'react-native';
import RenderHtml from 'react-native-render-html';
const source = {
html:
Hello World!
};export default function App() {
const { width } = useWindowDimensions();
return (
contentWidth={width}
source={source}
/>
);
}
``For documentation and examples, please refer to the original repository: https://github.com/meliorence/react-native-render-html
- Development workflow
- Sending a pull request
- Code of conduct
BSD 2-Clause "Simplified" License.
---
Made with create-react-native-library