Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
tourze authored Dec 7, 2022
1 parent 179b7b4 commit abc62a3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ import { HtmlView } from 'taro-html-view'
| ---- | ---- | ---- |
| html | string | 用于渲染的HTML |
| previewImage | boolean | 开启图片预览功能 |
| onLinkClick | function | 点击链接时回调,参数为 href 指向的地址 |
| style | CSSProperties | 用于组件最外层的样式 |
| className | string | class |

Expand All @@ -33,4 +34,4 @@ import { HtmlView } from 'taro-html-view'
## 已知问题
- rn不支持 `line-height: 1.5;` 这样的倍数行距
- 对em的单位转换不完善
- rn不支持 `text-indent` 首行缩进
- rn不支持 `text-indent` 首行缩进

0 comments on commit abc62a3

Please sign in to comment.