1
0
mirror of https://gitee.com/vant-contrib/vant.git synced 2025-04-06 03:57:59 +08:00

docs: fix missing plain prop ()

This commit is contained in:
namefhf 2024-06-23 17:31:05 +08:00 committed by GitHub
parent 77745ab053
commit 50f7889935
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 0 deletions
packages/vant/src/button

@ -84,6 +84,7 @@ Use the `icon` prop to set the button icon. It supports all icons from the Icon
<van-button icon="plus" type="primary" />
<van-button icon="plus" type="primary">Button</van-button>
<van-button
plain
icon="https://fastly.jsdelivr.net/npm/@vant/assets/user-active.png"
type="primary"
>

@ -84,6 +84,7 @@ app.use(Button);
<van-button icon="plus" type="primary" />
<van-button icon="plus" type="primary">按钮</van-button>
<van-button
plain
icon="https://fastly.jsdelivr.net/npm/@vant/assets/user-active.png"
type="primary"
>