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
@@ -143,10 +143,11 @@ app.use(Button);
### Slots
| Name | Description |
| ------- | ------------------- |
| default | Default slot |
| loading | Custom loading icon |
| Name | Description |
| -------------- | ------------------- |
| default | Default slot |
| icon `v3.0.18` | Custom icon |
| loading | Custom loading icon |
### Less Variables