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

Commit

Permalink
Added prop validator for spinner, changed default apperance to primary
Browse files Browse the repository at this point in the history
  • Loading branch information
romanslonov committed May 2, 2019
1 parent 763d18b commit 435fbbc
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/components/Spinner/main.vue
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,10 @@ export default {
props: {
appearance: {
type: String,
default: 'default',
default: 'primary',
validator(appearance) {
return ['default', 'primary'].indexOf(appearance) > -1;
},
},
},
computed: {
Expand Down

0 comments on commit 435fbbc

Please sign in to comment.