mirror of https://github.com/wg-easy/wg-easy
5 changed files with 55 additions and 2 deletions
@ -0,0 +1,21 @@ |
|||||
|
<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">{{ data }}</span> |
||||
|
</template> |
||||
|
|
||||
|
<script lang="ts" setup> |
||||
|
defineProps<{ |
||||
|
id: string; |
||||
|
label: string; |
||||
|
description?: string; |
||||
|
disabled?: boolean; |
||||
|
data?: string; |
||||
|
}>(); |
||||
|
</script> |
Loading…
Reference in new issue