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

16 lines
315 B
Vue
Raw Normal View History

2022-11-24 00:59:40 +01:00
<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>