<script>
import BaseComponent from '@primevue/core/basecomponent';
import InputColorSwatchBackgroundStyle from 'primevue/inputcolorswatchbackground/style';

export default {
    name: 'BaseInputColorSwatchBackground',
    extends: BaseComponent,
    props: {
        as: {
            type: [String, Object, Function],
            default: 'DIV'
        },
        asChild: {
            type: Boolean,
            default: false
        }
    },
    style: InputColorSwatchBackgroundStyle,
    provide() {
        return {
            $pcInputColorSwatchBackground: this,
            $parentInstance: this
        };
    }
};
</script>
