Skip to content
This repository was archived by the owner on Mar 17, 2021. It is now read-only.

Commit 01e7765

Browse files
committed
Added spinner prop
1 parent 02189fe commit 01e7765

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/components/Spinner/main.vue

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,13 @@ export default {
1313
return ['default', 'primary'].indexOf(appearance) > -1;
1414
},
1515
},
16+
size: {
17+
type: String,
18+
default: '3',
19+
validator(appearance) {
20+
return ['1', '2', '3', '4'].indexOf(appearance) > -1;
21+
},
22+
},
1623
},
1724
computed: {
1825
classes() {

0 commit comments

Comments
 (0)