<!-- @fallthroughAttributes true -->
<!-- @strictTemplates true -->

<script setup lang="ts">
import type { HTMLAttributes } from 'vue';
import { cn } from '@/lib/utils';

const props = defineProps<{ class?: HTMLAttributes['class'] }>();
</script>

<template>
  <optgroup
    data-slot="native-select-optgroup"
    :class="
      cn(
        'bg-background-surface-floating text-content-on-surface-primary',
        props.class,
      )
    "
  >
    <slot />
  </optgroup>
</template>
