<script setup lang="ts">
import { NavigationMenuTrigger as ShadcnNavigationMenuTrigger } from '@/components/core/navigation-menu';
import type { UiNavigationMenuTriggerProps } from './types';

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

const props = defineProps<UiNavigationMenuTriggerProps>();
</script>

<template>
  <ShadcnNavigationMenuTrigger
    :disabled="props.disabled"
    :as-child="props.asChild"
  >
    <slot />
  </ShadcnNavigationMenuTrigger>
</template>
