<script setup lang="ts">
import { PopoverTrigger as ShadcnPopoverTrigger } from '@/components/core/popover';
import type { UiPopoverTriggerProps } from './types';

defineOptions({
  name: 'UiPopoverTrigger',
});

defineProps<UiPopoverTriggerProps>();
</script>

<template>
  <ShadcnPopoverTrigger
    :as-child="$props.asChild"
    :aria-label="$props.ariaLabel"
  >
    <slot />
  </ShadcnPopoverTrigger>
</template>
