2FAuth/resources/js_vue3/components/Spinner.vue

19 lines
461 B
Vue
Raw Normal View History

2023-10-05 14:03:00 +02:00
<script setup>
const props = defineProps({
isVisible: Boolean,
type: {
type: String,
default: 'inline'
},
})
</script>
<template>
<div v-if="isVisible">
<div v-if="type == 'inline'" class="has-text-centered mt-6">
<span id="icnSpinner" class="is-size-4">
<FontAwesomeIcon :icon="['fas', 'spinner']" spin />
</span>
</div>
</div>
</template>