<template>
    <component v-if="!asChild" :is="as" :class="cx('root')" v-bind="ptmi('root')">
        <slot />
    </component>
    <slot v-else :class="cx('root')" />
</template>

<script>
import BaseLabel from './BaseLabel.vue';

export default {
    name: 'Label',
    extends: BaseLabel,
    inheritAttrs: false
};
</script>
