Files
wg-easy-ca-lose/src/app/components/Form/InfoField.vue
T
Bernd Storath 371d7617ff fix styling
2025-07-25 12:37:46 +02:00

21 lines
438 B
Vue

<template>
<div class="flex items-center">
<FormLabel :for="id">
{{ label }}
</FormLabel>
<BaseTooltip v-if="description" :text="description">
<IconsInfo class="size-4" />
</BaseTooltip>
</div>
<span :id="id" class="flex flex-col justify-center">{{ data }}</span>
</template>
<script lang="ts" setup>
defineProps<{
id: string;
label: string;
description?: string;
data?: string;
}>();
</script>