Developers
Start building
Themes/Theme SDK/Modules/product/Defaults: ProductGallery

Defaults: ProductGallery

The defaults of @poltura/theme-sdk/product, ProductGallery to ProductGallery.

On this page
import { … } from '@poltura/theme-sdk/product';

ProductGallery

The nearest product's gallery, following the picked variant's image.

ProductGallery(props: ProductGalleryProps): ReactElement

Props: ProductGalleryProps

import { ProductGallery } from '@poltura/theme-sdk/product';

export function Media() {
  return <ProductGallery layout='carousel' aspect='portrait' />;
}

See also: useProductGallery, ProductGalleryImage, ProductGalleryThumbs

Last updated