<template>
  <van-field
    v-if="$utils.isNotEmpty(desc) && $utils.isNotEmpty(descPosition) && descPosition === 'inline'"
    label=" "
    class="ibps-pt-0 ibps-pb-0"
    :colon="false"
  >
    <template #input>
      <div
        class="ibps-help-block"
        v-html="$utils.formatText(desc)"
      />
    </template>
  </van-field>
</template>
<script>
export default {
  props: {
    desc: String,
    descPosition: String
  }
}
</script>
