<script>
import BaseComponent from '@primevue/core/basecomponent';
import Carousel from 'primevue/carousel';
import GalleryThumbnailStyle from 'primevue/gallerythumbnail/style';

export default {
    name: 'BaseGalleryThumbnail',
    extends: BaseComponent,
    props: {
        as: {
            type: [String, Object],
            default: () => Carousel
        },
        asChild: {
            type: Boolean,
            default: false
        },
        autoSize: {
            type: Boolean,
            default: true
        },
        loop: {
            type: Boolean,
            default: true
        },
        align: {
            type: String,
            default: 'center'
        },
        spacing: {
            type: Number,
            default: 8
        }
    },
    style: GalleryThumbnailStyle,
    provide() {
        return {
            $pcGalleryThumbnail: this,
            $parentInstance: this
        };
    }
};
</script>
