Home > @shopware-pwa/helpers > getProductMediaGallery

# getProductMediaGallery() function

Get the media gallery of a product as ui-interfaces

Signature:

export declare function getProductMediaGallery({ product, }?: {
    product?: Product;
}): UiMediaGalleryItem[];

# Parameters

Parameter Type Description
{ product, } { product?: Product; }

Returns:

UiMediaGalleryItem[]