<script>
import BaseComponent from '@primevue/core/basecomponent';
import InputColorSwatchStyle from 'primevue/inputcolorswatch/style';

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