import BackNav from 'react-storefront/BackNav'
Name | Type | Default | Description |
---|---|---|---|
text | string | The text to display representing the previous location. | |
url | string | The url to navigate to when clicked. If omitted, this component will navigate back in the history when clicked. | |
searchResults | shape : | When displaying this component on a search results page (such as a subcategory), you can supply the SearchResultsModelBase instance here and this component will allow you to switch between grid and list views. | |
labelComponent | string | 'span' | Overrides the default HTML element used for the label (span). |