<template>
  <div class="n-table-blank" :style="{minWidth: getColumnsWidth(columns) + 'px'}"></div>
</template>

<script>
import {getColumnsWidth} from '_common/tableUtil'

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