<script>
import BaseComponent from '@primevue/core/basecomponent';
import CarouselItem from 'primevue/carouselitem';
import GalleryThumbnailItemStyle from 'primevue/gallerythumbnailitem/style';

export default {
    name: 'BaseGalleryThumbnailItem',
    extends: BaseComponent,
    props: {
        index: {
            type: Number,
            default: undefined
        },
        as: {
            type: [String, Object],
            default: () => CarouselItem
        },
        asChild: {
            type: Boolean,
            default: false
        }
    },
    style: GalleryThumbnailItemStyle,
    provide() {
        return {
            $pcGalleryThumbnailItem: this,
            $parentInstance: this
        };
    }
};
</script>
