Repository URL to install this package:
|
Version:
2.1.16 ▾
|
import { DetailedListDataType } from '@skava/ui/dist/components/molecules/DetailedList';
interface RatingProps {
value?: string | number;
reviewCount?: number;
}
interface QuantityProps {
value?: string | number;
isIncrementer?: boolean;
}
interface PriceProps {
salePrice?: string | number;
regPrice?: string | number;
}
interface TotalPriceProps {
totalPrice?: string | number;
savePrice?: string | number;
}
interface PromoProps {
name?: string;
description?: string;
}
interface OneProductItemProps {
brandName?: string;
dataQa?: string;
identifier: string;
image: string;
isFavoriteActive?: boolean;
facet?: DetailedListDataType;
hasFavoriteIcon?: boolean;
name?: string;
quantity?: QuantityProps;
price?: PriceProps;
productCaption?: string;
productDetailsOrder?: Array<string>;
promoOffer: Array<PromoProps>;
rating?: RatingProps;
totalPriceDetails?: TotalPriceProps;
}
export { OneProductItemProps, PromoProps, PriceProps };