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 

/ src / components / presets / ProductPieces / ProductPrice / typings.tsx

import { ReactNode } from 'react'
import { Label } from 'atoms/Text/Label'

export interface ProductPriceRenderProp extends Function {
  (props: ProductPriceProps): ReactNode
}

export interface ProductPriceProps {
  className?: string
  children?: ReactNode

  salePrice?: string
  regularPrice?: string
  isSalePrice?: boolean

  renderWrapper?: ProductPriceRenderProp
  renderSalePrice?: ProductPriceRenderProp
  renderRegularPrice?: ProductPriceRenderProp
}