Breadcrumb and Next.js's Link
- [x] I have searched the Issues to see if this bug has already been reported
- [x] I have tested the latest version
Summary
When used with Next.js, some components have a as attribute so they can be used with Next.js's Link component. For example:
import Link from 'next/link';
import { NavbarBrand } from 'flowbite-react';
<NavbarBrand as={Link} href='/'>...
However, it doesn't seem to be the case of BreadcrumbItem. It takes only an href element, but not as.
It is possible to surround a BreadcrumbItem with a Link. But it breaks the styling, a sign that this is not the right way to handle this.
Am I missing something?
Any news about this feedback? When posting it, my feeling was that it could be addressed quite easily. The PR is rather simple and in line with other components of flowbite-react.
Any news about this feedback? When posting it, my feeling was that it could be addressed quite easily. The PR is rather simple and in line with other components of flowbite-react.
Sorry, hectic days here, left a small comment on the PR btw.