Repository URL to install this package:
Version:
0.9.6 ▾
|
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
viewBundleUrl?: string
reviewrating?: ReviewRatingProp
navigationUrl?: string
}
export interface ProductItemProps extends ProductItemPlaceholderProps {
item?: ItemDetailProps
onWriteReviewClick?: Function
onQuantityInputChange?: Function
onCheckBoxInputChange?: Function
onPrimaryButtonClick?: Function
onSecondaryButtonClick?: Function
}