<template lang="pug">
  tr.data-sheet-row(
    v-for="row in model"
    :key="row[keyProperty]"
  )
    td(
      v-for="column in columns"
      :key="column.key"
    ) {{ row[column.valueProperty] || row.value || '' }}
</template>

<script>
export default {
  name: 'DataSheetRow',
  props: ['model', 'keyProperty']
}
</script>

<style>
</style>
