Skip to content

Commit

Permalink
更新说明
Browse files Browse the repository at this point in the history
  • Loading branch information
ShaoGongBra committed May 30, 2022
1 parent dfb9e16 commit cafb28d
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,16 +1,17 @@
# Taro RichText
# Taro HtmlView
支持将简单的html富文本渲染为Taro组件,支持小程序、H5、ReactNative

## 安装

```bash
yarn add taro-react-native
yarn add taro-html-view
```

## 使用

```jsx
<RichText html='<p>文本内容</p>' />
import { HtmlView } from 'taro-html-view'
<HtmlView html='<p>文本内容</p>' />
```

## 属性
Expand Down

0 comments on commit cafb28d

Please sign in to comment.