We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When used with Next.js, some components have a as attribute so they can be used with Next.js's Link component. For example:
as
Link
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.
BreadcrumbItem
href
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?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Summary
When used with Next.js, some components have a
as
attribute so they can be used with Next.js'sLink
component. For example:However, it doesn't seem to be the case of
BreadcrumbItem
. It takes only anhref
element, but notas
.It is possible to surround a
BreadcrumbItem
with aLink
. But it breaks the styling, a sign that this is not the right way to handle this.Am I missing something?
The text was updated successfully, but these errors were encountered: