<!-- Animation circulaire à afficher durant les chargements -->

<template>
  <v-progress-circular
    indeterminate
    :size="size"
  />
</template>

<script lang="ts">
import { defineComponent, ref, Ref } from '@nuxtjs/composition-api'

export default defineComponent({
  props: {
    size: {
      type: Number,
      required: false,
      default: 32
    }
  },
  setup (props) {
    const size: Ref<number> = ref(props.size)

    return {
      size
    }
  }
})
</script>
