[new feature] Icon: add tag prop (#2986)

This commit is contained in:
neverland
2019-03-17 18:48:18 +08:00
committed by GitHub
parent 36fc3ab921
commit 94a7445945
10 changed files with 56 additions and 18 deletions
+1
View File
@@ -31,6 +31,7 @@ function GoodsActionMiniBtn(
<div class={[bem(), 'van-hairline']} onClick={onClick} {...inherit(ctx)}>
<Icon
class={[bem('icon'), props.iconClass]}
tag="div"
info={props.info}
name={props.icon}
/>