Home > widget-integration > PriceRenderer

PriceRenderer type

Function type for rendering price HTML

Signature:

export type PriceRenderer = (priceMin: number | string, compareAtPriceMin: number | string, priceMax: number | string | null, params: PriceRenderParams) => Promise<string>;

References: PriceRenderParams