Home > @shopware-pwa/helpers > getProductReviews

# getProductReviews() function

Format product reviews to ui-interfaces

Signature:

export declare function getProductReviews({ product, }?: {
    product?: Product;
}): UiProductReview[];

# Parameters

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

Returns:

UiProductReview[]