feat(Button): add icon slot (#8783)

This commit is contained in:
neverland
2021-05-30 20:49:21 +08:00
committed by GitHub
parent ba876d286b
commit 36dae5ae8c
5 changed files with 39 additions and 8 deletions
+5 -4
View File
@@ -166,10 +166,11 @@ app.use(Button);
### Slots
| 名称 | 说明 |
| ------- | -------------- |
| default | 按钮内容 |
| loading | 自定义加载图标 |
| 名称 | 说明 |
| -------------- | -------------- |
| default | 按钮内容 |
| icon `v3.0.18` | 自定义图标 |
| loading | 自定义加载图标 |
### 样式变量