<template>
  <div :class="loading ? 'skeleton-block' : ''">
    <slot />
  </div>
</template>

<script lang="ts">
export default {
  name: 'Loading',
  props: {
    loading: {
      type: Boolean,
      default: true,
    },
  },
}
</script>
