[new feature] Loading: size prop support number type

This commit is contained in:
陈嘉涵
2019-04-30 17:54:32 +08:00
parent 0a7ca2fb6e
commit e64dd9b121
6 changed files with 25 additions and 11 deletions
+2 -2
View File
@@ -35,11 +35,11 @@ Vue.use(Loading);
|------|------|------|------|
| color | Loading color | `String` | `#c9c9c9` | |
| type | Can be set to `spinner` | `String` | `circular` |
| size | Icon size | `String` | `30px` |
| size | Icon size | `String | Number` | `30px` |
| text-size | Text font size | `String | Number` | `14px` |
### Slot
| Name | Description |
|------|------|
| default | Loading text |
| default | Loading text |