This commit is contained in:
philipp lang 2023-08-20 23:36:26 +02:00
parent 37107915a1
commit 74b162cc23
1 changed files with 4 additions and 1 deletions

View File

@ -1,7 +1,9 @@
<template>
<button v-bind="$attrs" type="button" class="btn label btn-primary">
<ui-sprite class="w-3 h-3 mr-2" :src="icon"></ui-sprite>
<span><slot></slot></span>
<span>
<slot></slot>
</span>
</button>
</template>
@ -9,6 +11,7 @@
export default {
props: {
icon: {
type: String,
required: true,
},
},