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