<script>
import Link from './Link';

export default {
  components: { Link },
  props:      {
    row: {
      type:     Object,
      required: true,
    },
    value: {
      type:     Array,
      default: () => []
    },
    options: {
      type:    [Object, String],
      default: null,
    },
  },
};
</script>

<template>
  <span>
    <span v-for="(el, i) in value" :key="el.key">
      <Link :row="row" :value="el" :options="options" /><span v-if="i != value.length - 1">, </span>
    </span>
  </span>
</template>
