<template>
  <button class="button" :aria-label="label">
    <v-icon :name="icon" class="mr-2" scale="0.83" />
    <template v-if="!isShort">{{ label }}</template>
  </button>
</template>

<script setup lang="ts">
defineProps({
  label: { type: String, required: true },
  icon: { type: String, default: null },
  isShort: { type: Boolean, default: false },
})
</script>

<style scoped lang="sass"></style>
