mirror of
https://github.com/zammad/zammad
synced 2026-05-24 09:48:36 +00:00
20 lines
519 B
Vue
20 lines
519 B
Vue
<!-- Copyright (C) 2012-2026 Zammad Foundation, https://zammad-foundation.org/ -->
|
|
|
|
<script setup lang="ts">
|
|
interface Props {
|
|
helpText?: string | string[]
|
|
}
|
|
|
|
defineProps<Props>()
|
|
</script>
|
|
|
|
<template>
|
|
<div class="ltr:text-left rtl:text-right">
|
|
<template v-if="Array.isArray(helpText)">
|
|
<CommonLabel v-for="(text, index) in helpText" :key="`${text}-${index}`" tag="p">{{
|
|
text
|
|
}}</CommonLabel>
|
|
</template>
|
|
<CommonLabel v-else tag="p">{{ helpText }}</CommonLabel>
|
|
</div>
|
|
</template>
|