pilotwings/frontend/components/Loading.vue

18 lines
242 B
Vue
Raw Normal View History

<template>
<div :class="loading ? 'skeleton-block' : ''">
<slot />
</div>
</template>
<script lang="ts">
export default {
name: 'Loading',
props: {
loading: {
type: Boolean,
default: true,
},
},
}
</script>