React Storefront
|

ProductLink

import ProductLink from 'react-storefront/ProductLink'

A link to the PDP which reuses the thumbnail image from the Subcategory page. The product prop accepts an instance of ProductModelBase or any model that implements createLinkState(). This component wraps react-storefront/Link and supports all of its props.

Props

NameTypeDefaultDescription
productobject

An instance of ProductModelBase or a model that implements createLinkState()