adrema/resources/js/components/ui/Label.vue

16 lines
315 B
Vue

<template>
<div class="flex justify-center">
<div class="btn btn-sm label primary" v-text="value" v-if="value"></div>
<div class="text-xs" v-text="fallback" v-else></div>
</div>
</template>
<script>
export default {
props: {
value: {},
fallback: {},
},
};
</script>