<script setup lang="ts">
import type { ButtonVariants } from '../button'
import { Button } from '../button'
import type { HTMLAttributes } from 'vue'

interface Props {
  variant?: ButtonVariants['variant']
  size?: ButtonVariants['size']
  class?: HTMLAttributes['class']
  disabled?: boolean
}

const props = withDefaults(defineProps<Props>(), {
  variant: 'default',
  size: 'default',
})
</script>

<template>
  <Button
    :variant="props.variant"
    :size="props.size"
    :class="props.class"
    :disabled="props.disabled"
  >
    <slot />
  </Button>
</template>
