[new feature] Button: add loading-size prop (#2854)

This commit is contained in:
neverland
2019-02-26 19:35:59 +08:00
committed by GitHub
parent c3cf74cda0
commit 5cb0edbf39
5 changed files with 27 additions and 1 deletions
+1
View File
@@ -72,6 +72,7 @@ Vue.use(Button);
| disabled | Whether to disable button | `Boolean` | `false` |
| loading | Whether show loading status | `Boolean` | `false` |
| loading-text | Loading text | `String` | - |
| loading-size | Loading icon size | `String` | `20px` |
| url | Link URL | `String` | - |
| to | Target route of the link, same as to of `vue-router` | `String | Object` | - |
| replace | If true, the navigation will not leave a history record | `String` | `false` |