add nova
This commit is contained in:
23
nova/resources/js/components/LoadingCard.vue
Normal file
23
nova/resources/js/components/LoadingCard.vue
Normal file
@@ -0,0 +1,23 @@
|
||||
<template>
|
||||
<Card class="isolate">
|
||||
<div
|
||||
v-show="loading"
|
||||
class="absolute inset-0 z-30 flex items-center justify-center rounded-lg bg-white dark:bg-gray-800"
|
||||
>
|
||||
<Loader class="text-gray-300" width="30" />
|
||||
</div>
|
||||
|
||||
<slot />
|
||||
</Card>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
props: {
|
||||
loading: {
|
||||
type: Boolean,
|
||||
default: true,
|
||||
},
|
||||
},
|
||||
}
|
||||
</script>
|
||||
Reference in New Issue
Block a user