<script>
import RawSpinner from './VSpinnerSvg.vue'

export default {
  name: 'VSpinner',
  components: {RawSpinner},
  props: {
    text: {
      default: "Загрузка",
      type: String
    },
    disableText: {
      default: false,
      type: Boolean
    }
  },
  data() {
    return {}
  },
  computed: {
  },
  methods: {
  }
}

</script>

<template>
  <div class="w-fit flex items-center">
    <RawSpinner
      class="mr-2"
    />
    <span
      v-if="!disableText"
      class="text-lg text-slate-700"
    >{{ text }}</span>
  </div>
</template>
