<script setup lang="ts">
import DataTable from '~/components/pub/my-ui/data-table/data-table.vue'
import { config } from './list.cfg'

const props = defineProps<{
  data: any[],
}>()
</script>

<template>
  <DataTable
    v-bind="config"
    :rows="props.data"
  />
</template>
