<script setup lang="ts">
import { StepperTrigger as ShadcnStepperTrigger } from '@/components/core/stepper';
import type { UiStepperTriggerProps } from './types';

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

const props = withDefaults(defineProps<UiStepperTriggerProps>(), {
  asChild: false,
});
</script>

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