Skip to content

Commit 4418746

Browse files
committed
docs: Add usage
1 parent 2a3b323 commit 4418746

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,12 @@ npx iconfont-qq
131131

132132
// 不同格式的颜色写法
133133
<iconfont name="alipay" color="{{['#333', 'rgb(50, 124, 39)']}}" />
134+
135+
// 与文字对齐
136+
<view style="display: flex; alignItems: center;">
137+
<text>Hello</text>
138+
<iconfont name="alipay" />
139+
</view>
134140
```
135141

136142
# 更新图标

0 commit comments

Comments
 (0)