Price Components
<IgPrice/> and <IgCompareAtPrice/>
<IgPrice/> and <IgCompareAtPrice/>export interface IgPriceProps {
className?: string | undefined;
productId?: string;
variantId?: string;
originalPrice: number;
originalCompareAtPrice?: number;
currencyCode?: string;
priceFormatter?: PriceFormatter;
}
export type PriceFormatter = (value: number, currencyCode?: string) => string;Last updated