<script lang="ts" setup>
import { cn } from "@mykopkb/core/utils/cn";
import { fieldTitle } from "@mykopkb/core/styles/field.styles";

const { class: className, ...props } = defineProps<{
  class?: string;
}>();
</script>

<template>
  <div data-part="field-label" :class="cn(fieldTitle, className)" v-bind="{ ...props }">
    <slot />
  </div>
</template>
