react-native-html:将 html 字符串渲染为本地自定义元素

时间:2021-06-11 23:18:15
【文件属性】:
文件名称:react-native-html:将 html 字符串渲染为本地自定义元素
文件大小:4KB
文件格式:ZIP
更新时间:2021-06-11 23:18:15
JavaScript react-native-html 将 html 字符串渲染为本地自定义元素 提示: WIP,仅支持和现在。 安装 $ npm install react-native-html --save 例子 var React = require ( 'react-native' ) ; var { AppRegistry , View } = React ; var ReactHtml = require ( 'react-native-html' ) ; var App = React . createClass ( { render : function ( ) { return ( < ReactHtml> < img xss=removed> Some text else. < / R
【文件预览】:
react-native-html-master
----.npmignore(53B)
----LICENSE(1KB)
----README.md(2KB)
----libs()
--------html.js(1KB)
----.gitignore(45B)
----index.js(40B)
----package.json(567B)

网友评论