tethys.backend/resources/js/Components/unused/Label.vue

11 lines
229 B
Vue
Raw Permalink Normal View History

2023-03-03 15:54:28 +00:00
<script setup>
defineProps(['value']);
</script>
<template>
<label class="block font-medium text-sm text-gray-700">
<span v-if="value">{{ value }}</span>
<span v-else><slot /></span>
</label>
</template>