1

Right now I'm using the Page component in shopify polaris with Reactjs. This component has a breadcrumbs property and it seems like you can only use breadcrumbs within the page component like this:

<Page
  breadcrumbs={[{content: 'Products', url: '/products'}]}
  title="Jar With Lock-Lid"
  primaryAction={{content: 'Save', disabled: true}}
  secondaryActions={[{content: 'Duplicate'}, {content: 'View on your store'}]}
  pagination={{
    hasPrevious: true,
    hasNext: true,
  }}
>
  <p>Page content</p>
</Page>

I'm wondering if there is a way to use breadcrumbs without using the Page component. Something like this:

<Breadcrumbs content: 'Products', url: '/products'/>

Any help with this would be great, thanks!

jim
  • 1,026
  • 2
  • 15
  • 37
  • 1
    Ask Shopify. Polaris has a whole team, and a Github repo. You can ask them any question you want. Probably better than SO. – David Lazar Dec 24 '18 at 02:28

0 Answers0