Fejlesztőknek
Kezdj bele
Témák/Theme SDK/Modules/product/Defaults: ProductGallery

Defaults: ProductGallery

Ez az oldal még csak angolul érhető el.

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

Ezen az oldalon
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

Utoljára frissítve