<script setup>
/**
 * Wrapper around PrimeVue Column for use with BaseDataTable.
 * Views must use BaseColumn instead of importing primevue/datatable Column directly.
 */
import Column from "primevue/column";
</script>

<template>
  <Column v-bind="$attrs">
    <template v-for="(_, name) in $slots" :key="name" #[name]="slotProps">
      <slot :name="name" v-bind="slotProps" />
    </template>
  </Column>
</template>
