<template>
  <div style="z-index: 99999" class="fixed left-0 w-full h-full bg-base-100 top-0">
    <div class="flex flex-col items-center justify-center h-full">
      <span class="loading loading-infinity loading-xl"></span>
      <h1>{{ text }}</h1>
    </div>
  </div>
</template>

<script setup>
const props = defineProps({
  text: {
    type: String,
    default: 'Получение данных...',
  },
});
</script>
