mirror of
https://github.com/youzan/vant.git
synced 2026-01-27 02:00:43 +08:00
@@ -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"
|
||||
>
|
||||
|
||||
Reference in New Issue
Block a user