Make button shadow togglable

This commit is contained in:
kolaente 2021-01-17 15:14:48 +01:00
parent 8b6d5d5e4c
commit 8424b63d59
Signed by: konrad
GPG Key ID: F40E70337AB24C9B
1 changed files with 5 additions and 0 deletions

View File

@ -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>