@chainplatform/html
v0.2.7
Published
The library allows you to display html contents with react-native-webview without ejecting support both react-native and react-native-web.
Maintainers
Readme
React Native HTML View
The library allows you to display html contents with react-native-webview without ejecting support both react-native and react-native-web.
Prequisites
- This library relies on React Native Webview. Please follow this guide to install in your project first.
Installation
Ensure you've completed the setps in prequisites.
Install package via npm or yarn:
npm install --save @chainplatform/html OR yarn add @chainplatform/html
- If your project use react-native-web to build website:
npm install --save @chainplatform/react-native-web-webview OR yarn add @chainplatform/react-native-web-webview
Then setup by guide at: https://github.com/ChainPlatform/react-native-web-webview#readme
Usage
- Import in your project
import HTMLView from '@chainplatform/html'; <HTMLView content={this.content} />Component props
content(String) - html content- Support full Webview props
Contributing
Pull requests are highly appreciated! For major changes, please open an issue first to discuss what you would like to change.
🪪 License
MIT © 2025 Chain Platform
💖 Support & Donate
If you find this package helpful, consider supporting the development:
| Cryptocurrency | Address |
|----------------|----------|
| Bitcoin (BTC) | 17grbSNSEcEybS1nHh4TGYVodBwT16cWtc |
| Ethereum (ETH) | 0xa2fd119a619908d53928e5848b49bf1cc15689d4 |
| Tron (TRX) | TYL8p2PLCLDfq3CgGBp58WdUvvg9zsJ8pd |
| DOGE (DOGE) | DDfKN2ys4frNaUkvPKcAdfL6SiVss5Bm19 |
| USDT (SOLANA) | cPUZsb7T9tMfiZFqXbWbRvrUktxgZQXQ2Ni1HiVXgFm |
Your contribution helps maintain open-source development under the Chain Platform ecosystem 🚀
