Breadcrumb component to allow a react-router <Link> instead of a bare <a>
rnicholus opened this issue · comments
- I have searched the Issues to see if this bug has already been reported
- I have tested the latest version
Summary
Currently, <BreadcrumbItem>
can be rendered as an anchor link or a span
. But given that this is a React library, and the overwhelming majority of React apps use react-router, <BreadcrumbItem>
should at least be able to render a <Link>
.
This can probably be accomplished by refactoring <BreadcrumbItem>
to accept as={Link}
.
i'm using next, also want this feature...
I am working on this feature