themesberg / flowbite-react

Official React components built for Flowbite and Tailwind CSS
https://flowbite-react.com
MIT License
1.77k stars 395 forks source link

Breadcrumb component to allow a react-router <Link> instead of a bare <a> #1414

Open rnicholus opened 4 weeks ago

rnicholus commented 4 weeks ago

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}.

j-vitali commented 4 weeks ago

i'm using next, also want this feature...

akashMasih commented 3 weeks ago

I am working on this feature