mirror of
https://github.com/hay-kot/homebox.git
synced 2024-11-22 16:45:43 +00:00
lowercase buttons by default
This commit is contained in:
parent
72324b8439
commit
d6c1b789cf
1 changed files with 5 additions and 0 deletions
|
@ -26,6 +26,7 @@
|
||||||
'btn-sm': size === 'sm',
|
'btn-sm': size === 'sm',
|
||||||
'btn-lg': size === 'lg',
|
'btn-lg': size === 'lg',
|
||||||
}"
|
}"
|
||||||
|
:style="upper ? '' : 'text-transform: none'"
|
||||||
>
|
>
|
||||||
<label v-if="$slots.icon" class="swap swap-rotate mr-2" :class="{ 'swap-active': isHover }">
|
<label v-if="$slots.icon" class="swap swap-rotate mr-2" :class="{ 'swap-active': isHover }">
|
||||||
<slot name="icon" />
|
<slot name="icon" />
|
||||||
|
@ -38,6 +39,10 @@
|
||||||
type Sizes = "sm" | "md" | "lg";
|
type Sizes = "sm" | "md" | "lg";
|
||||||
|
|
||||||
const props = defineProps({
|
const props = defineProps({
|
||||||
|
upper: {
|
||||||
|
type: Boolean,
|
||||||
|
default: false,
|
||||||
|
},
|
||||||
loading: {
|
loading: {
|
||||||
type: Boolean,
|
type: Boolean,
|
||||||
default: false,
|
default: false,
|
||||||
|
|
Loading…
Reference in a new issue