<template>
  <thead>
    <tr>
      <template v-for="column in columns">
        <th :key="getColumnKey(column)" :class="column.classes">
          <span>{{ column.title }}</span>
        </th>
      </template>
    </tr>
  </thead>
</template>

<script>
import mixin from './mixin'
export default {
  mixins: [mixin],
  props: {
    columns: {
      type: Array,
      default () {
        return []
      }
    }
  }
}
</script>
