<template>
  <colgroup>
    <col v-if="numbers" width="56" />
    <template v-for="(item, index) in cols">
      <col :width="item.width" :key="index" />
    </template>
  </colgroup>
</template>
<script>
export default {
  name: 'EoColgroup',
  props: {
    numbers: Boolean,
    cols: Array
  }
};
</script>
