forked from geolba/tethys.backend
11 lines
229 B
Vue
11 lines
229 B
Vue
|
<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>
|