Repository URL to install this package:
|
Version:
2.1.16 ▾
|
import { ProductItemProps as ProductItemPlaceholderProps, ItemDetailProps as ItemDetailPlaceholderProps } from 'abstractions/BundleCollection';
export interface ReviewRatingProp {
reviewcount?: number;
ratings?: number;
}
export interface ItemDetailProps extends ItemDetailPlaceholderProps {
name?: string;
identifier?: string;
brandName?: string;
description?: string;
image?: {
value: string;
};
salePrice?: string;
regPrice?: string;
bundleMandatoryProductsCount?: number;
bundleOptionalProductsCount?: number;
hasAddon?: boolean;
hasBundleMandatoryProducts?: boolean;
isCollectionSubProduct?: boolean;
isBundleSubProduct?: boolean;
isBundle?: boolean;
inventoryContent?: string;
reviewrating?: ReviewRatingProp;
navigationUrl?: string;
}
export interface ProductItemProps extends ProductItemPlaceholderProps {
item?: ItemDetailProps;
onWriteReviewClick?: Function;
onQuantityInputChange?: Function;
onCheckBoxInputChange?: Function;
onPrimaryButtonClick?: Function;
onSecondaryButtonClick?: Function;
}