primevue-mirror/components/lib/inputicon/InputIcon.vue

21 lines
384 B
Vue
Raw Normal View History

<template>
<span :class="containerClass" v-bind="ptmi('root')">
<slot />
</span>
</template>
<script>
import BaseInputIcon from './BaseInputIcon.vue';
export default {
name: 'InputIcon',
extends: BaseInputIcon,
inheritAttrs: false,
computed: {
containerClass() {
return [this.cx('root'), this.class];
}
}
};
</script>