File size: 454 Bytes
4d70170
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<script lang="ts">
import { defineComponent } from 'vue'

export default defineComponent({
  props: {
    icon: {
      type: String,
      default: null,
    },
  },
})
</script>

<template>
  <div class="h-full flex flex-col items-center justify-center space-y-6 p-12 text-gray-400 dark:text-gray-600 text-center">
    <VueIcon
      v-if="icon"
      :icon="icon"
      class="w-10 h-10 opacity-50"
    />
    <div><slot /></div>
  </div>
</template>