Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
Size: Mime:
import React from 'react'
import { additionalPaths } from '@skava/ui/dist/components/atoms/MaterialIcon'
import { FlexRow } from 'abstractions/OrderHistory'
import { ProductItem } from '../ProductItem'
import { StoreName, StyledMaterialIcon } from './styled'
import { ProductListProps } from './typings'

function defaultRenderStoreName(props: ProductListProps) {
  const { item } = props
  return (
    <FlexRow>
      <StyledMaterialIcon type={'store_mall'} customPaths={additionalPaths} />
      <StoreName content={item.storeName} />
    </FlexRow>
  )
}

function defaultRenderProductItem(props: ProductListProps) {
  return <ProductItem {...props} />
}

export { defaultRenderProductItem, defaultRenderStoreName }