glowing-fiesta-original/app/components/ui/field/FieldTitle.vue
Liviu Burcusel 10e4363cbd
Some checks failed
Production PR / QA Tests (pull_request) Failing after 13s
GF-6, #8 Added auth.
2026-01-07 09:54:06 +01:00

22 lines
442 B
Vue

<script setup lang="ts">
import type { HTMLAttributes } from "vue";
import { cn } from "@/lib/utils";
const props = defineProps<{
class?: HTMLAttributes["class"];
}>();
</script>
<template>
<div
data-slot="field-label"
:class="
cn(
'flex w-fit items-center gap-2 text-sm leading-snug font-medium group-data-[disabled=true]/field:opacity-50',
props.class
)
"
>
<slot />
</div>
</template>