mirror of
https://github.com/youzan/vant.git
synced 2025-10-20 18:54:24 +00:00
[Doc] Button: add demo of image icon (#3516)
This commit is contained in:
@@ -58,7 +58,11 @@
|
||||
/>
|
||||
<van-button
|
||||
loading
|
||||
type="primary"
|
||||
loading-type="spinner"
|
||||
/>
|
||||
<van-button
|
||||
loading
|
||||
:loading-text="$t('loadingText')"
|
||||
type="danger"
|
||||
/>
|
||||
@@ -83,10 +87,16 @@
|
||||
icon="star-o"
|
||||
/>
|
||||
<van-button
|
||||
type="danger"
|
||||
type="primary"
|
||||
icon="star-o"
|
||||
:text="$t('button')"
|
||||
/>
|
||||
<van-button
|
||||
plain
|
||||
type="primary"
|
||||
icon="https://img.yzcdn.cn/vant/logo.png"
|
||||
:text="$t('button')"
|
||||
/>
|
||||
</demo-block>
|
||||
|
||||
<demo-block :title="$t('size')">
|
||||
|
Reference in New Issue
Block a user