<script>
import BaseComponent from '@primevue/core/basecomponent';
import Button from 'primevue/button';
import InputColorEyeDropperStyle from 'primevue/inputcoloreyedropper/style';

export default {
    name: 'BaseInputColorEyeDropper',
    extends: BaseComponent,
    props: {
        as: {
            type: [String, Object, Function],
            default: () => Button
        },
        asChild: {
            type: Boolean,
            default: false
        }
    },
    style: InputColorEyeDropperStyle,
    provide() {
        return {
            $pcInputColorEyeDropper: this,
            $parentInstance: this
        };
    }
};
</script>
