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

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

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