<script setup lang="ts">
import { Spinner as ShadcnSpinner } from '@/components/core/spinner';
import type { UiSpinnerProps } from './types';

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

const props = withDefaults(defineProps<UiSpinnerProps>(), {
  ariaLabel: 'Loading',
});
</script>

<template>
  <ShadcnSpinner :aria-label="props.ariaLabel" />
</template>
