/* This file is automatically generated for @graphcommerce/magento-product/components/ProductPageGallery/ProductPageGallery */

export * from './ProductPageGallery'
import { Plugin as ConfigurableProductPageGallery } from '@graphcommerce/magento-product-configurable/plugins/ConfigurableProductPage/ConfigurableProductPageGallery'
import { ComponentProps } from 'react'
import { ProductPageGallery as ProductPageGalleryBase } from './ProductPageGallery'

/**
 * Interceptor for `<ProductPageGallery/>` with these plugins:
 * 
 * - `@graphcommerce/magento-product-configurable/plugins/ConfigurableProductPage/ConfigurableProductPageGallery`
 */
type ProductPageGalleryProps = ComponentProps<typeof ProductPageGalleryBase>

function ConfigurableProductPageGalleryInterceptor(props: ProductPageGalleryProps) {
  return <ConfigurableProductPageGallery {...props} Prev={ProductPageGalleryBase} />
}
export const ProductPageGallery = ConfigurableProductPageGalleryInterceptor
