This repository has been archived on 2024-07-22. You can view files and clone it, but cannot push or open issues or pull requests.
Zaimki/components/LinkedTextMultiple.vue

14 lines
386 B
Vue
Raw Normal View History

<template>
<span><template v-for="(text, i) in texts"><LinkedText :text="text.trim()" :noicons="noicons"/><span v-if="i !== texts.length - 1">{{ glue }}</span></template></span>
</template>
<script>
export default {
props: {
texts: { required: true },
glue: { 'default': ', '},
noicons: { type: Boolean },
},
}
</script>