docs: fix missing plain prop #12962 (#12963)

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

View File

@ -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"
>

View File

@ -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"
>