<script>
import BaseComponent from '@primevue/core/basecomponent';
import CompareItemStyle from 'primevue/compareitem/style';

export default {
    name: 'BaseCompareItem',
    extends: BaseComponent,
    props: {
        position: {
            type: String,
            default: 'before'
        },
        as: {
            type: [String, Object],
            default: 'DIV'
        },
        asChild: {
            type: Boolean,
            default: false
        }
    },
    style: CompareItemStyle,
    provide() {
        return {
            $pcCompareItem: this,
            $parentInstance: this
        };
    }
};
</script>
