<script setup lang="ts">
import { DropdownMenuItem as ShadcnDropdownMenuItem } from '@/components/core/dropdown-menu';
import type { UiDropdownMenuItemProps } from './types';

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

const props = withDefaults(defineProps<UiDropdownMenuItemProps>(), {
  variant: 'default',
  disabled: false,
  inset: false,
  textValue: undefined,
});
</script>

<template>
  <ShadcnDropdownMenuItem
    :disabled="props.disabled"
    :text-value="props.textValue"
    :variant="props.variant"
    :inset="props.inset"
  >
    <slot />
  </ShadcnDropdownMenuItem>
</template>
