<script setup lang="ts">
const props = defineProps({
  columns: {
    type: Array as () => any[],
    require: true,
  },
  row: {
    type: Array as () => any[],
    require: true,
  },
});
</script>

<template>
  <d-table
    ref="table"
    :columns="props.columns"
    :rows="props.row"
    row-key="name"
    flat
    bordered
    dense
    class="custom-header-table"
    style="width: 610px"
    :rows-per-page-options="[10, 25, 50, 100]"
  >
  </d-table>
</template>

<style scoped></style>
