The last item is the current page. Supports linkComponent / linkProp for routers.

Props

  • items{ label, href? }[]

    Trail items; the last one is the current page.

  • linkComponentElementType
    Default: 'a'

    Component used for links, e.g. a router Link.

  • linkPropstring
    Default: 'href'

    Name of the destination prop on linkComponent (e.g. "to" for react-router).

  • classNamestring
    Default: ''

    Extra classes for the root element.