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

// Configs
import { config } from './quick-list.cfg'
import type { MaterialPackageItem } from '~/models/material-package-item';

interface Props {
  data: MaterialPackageItem[]
}

defineProps<Props>()
</script>

<template>
  <div class="mb-4">
    <div class="font-semibold text-sm 2xl:text-base mb-2">
        Daftar Item BMHP
    </div>
    <DataTable v-bind="config" :rows="data" class="border"/>
  </div>
</template>
