Make button shadow togglable
This commit is contained in:
parent
8b6d5d5e4c
commit
8424b63d59
|
@ -3,6 +3,7 @@
|
|||
class="button"
|
||||
:class="{
|
||||
'is-loading': loading,
|
||||
'has-no-shadow': !shadow,
|
||||
'is-primary': type === 'primary',
|
||||
'is-outlined': type === 'secondary',
|
||||
'is-text is-inverted has-no-shadow underline-none': type === 'tertary',
|
||||
|
@ -30,6 +31,10 @@ export default {
|
|||
type: Boolean,
|
||||
default: false,
|
||||
},
|
||||
shadow: {
|
||||
type: Boolean,
|
||||
default: true,
|
||||
},
|
||||
},
|
||||
}
|
||||
</script>
|
Reference in New Issue