<script setup lang="ts">
// Pub components
import DataTable from '~/components/pub/my-ui/data-table/data-table.vue'

// Configs
import { config } from './list.cfg'

defineProps<{
  data: any[]
}>()
</script>

<template>
  <div class="space-y-4">
    <DataTable v-bind="config" :rows="data" />
  </div>
</template>
