<template>
  <span v-if="item">{{item[displayField]}}</span>
</template>

<style lang="scss" scoped>
span {
  white-space: nowrap;
}
</style>

<script>
export default {
  props: ['item', 'display-field']
};
</script>
