Learn more  » Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Bower components Debian packages RPM packages NuGet packages

skava / @skava/ui   js

Repository URL to install this package:

Version: 2.8.8 

import { ReactEventHandler } from 'react'
import { ProductItemProps as ProductItemPlaceholderProps } from 'abstractions/ProductPieces'

export interface ImageProps {
  value?: string
}

export interface FacetProps {
  label?: string
  value?: string
  isColon?: boolean
}

export interface ItemProps {
  name?: string
  identifier?: string
  brandName?: string
  image?: ImageProps
  hasQuantity?: boolean
  quantity?: number
  salePrice?: string
  regPrice?: string
  totalPrice?: string
  savePrice?: string
  facets?: Array<FacetProps>
  navigationUrl?: string
}

export interface ProductItemDetailProps {
  item?: ItemProps
  onQuantityInputChange?: ReactEventHandler<HTMLInputElement>
}
export interface ProductItemProps
  extends ProductItemPlaceholderProps,
    ProductItemDetailProps {}