<script>
import BaseComponent from '@primevue/core/basecomponent';
import CompareIndicatorStyle from 'primevue/compareindicator/style';

export default {
    name: 'BaseCompareIndicator',
    extends: BaseComponent,
    props: {
        as: {
            type: [String, Object],
            default: 'SPAN'
        },
        asChild: {
            type: Boolean,
            default: false
        },
        inputId: {
            type: String,
            default: undefined
        },
        inputStyle: {
            type: [String, Object, Array],
            default: undefined
        },
        inputClass: {
            type: [String, Object, Array],
            default: undefined
        }
    },
    style: CompareIndicatorStyle,
    provide() {
        return {
            $pcCompareIndicator: this,
            $parentInstance: this
        };
    }
};
</script>
