Use Button component to submit all forms

This commit is contained in:
Bubka
2020-01-21 17:03:00 +01:00
parent fa3537d957
commit fe916c08c0
7 changed files with 25 additions and 30 deletions

View File

@ -1,12 +1,12 @@
<template>
<button
:type="nativeType"
:type="nativeType"
:disabled="isLoading"
:class="{
'button': true,
[`${color}`]: true,
'is-large': isLarge,
'is-focused': isFocused,
}"
class="button">
'is-loading': isLoading,
}">
<slot />
</button>
</template>
@ -26,15 +26,10 @@
default: 'submit'
},
isFocused: {
isLoading: {
type: Boolean,
default: false
},
isLarge: {
type: Boolean,
default: false
}
}
}