<template>
  <colgroup>
    <template v-for="(column, index) in columns">
      <col :width="column.width" :key="index" />
    </template>
  </colgroup>
</template>

<script>
export default {
  name: 'n-table-colgroup',
  props: {
    columns: {
      type: Array,
      default () {
        return []
      }
    }
  }
}
</script>
