React Storefront
|

PageLink

import PageLink from 'react-storefront/PageLink'

A link to a page that automatically set AppModelBase.loading{props.Page} This component wraps react-storefront/Link and supports all of its props.

Props

NameTypeDefaultDescription
modelobject

An instance of a mobx-state-tree Model to link to

pagestring

The page to display when clicked.

stateobject

An object to apply to the state tree when the link is clicked.