fix(docs): update Link component to use Link.Root for consistency with new component structure

This commit is contained in:
Junior Garcia
2025-10-24 16:50:55 -03:00
parent 772b94282e
commit 9542aae53c
@@ -109,7 +109,7 @@ Apply button styles to any component:
import { Link, LinkIcon, buttonVariants } from '@heroui/react';
// Link styled as a tertiary button
<Link
<Link.Root
className={buttonVariants({
size: "md",
variant: "tertiary",
@@ -120,7 +120,7 @@ import { Link, LinkIcon, buttonVariants } from '@heroui/react';
>
HeroUI
<LinkIcon className="h-2 w-2" />
</Link>
</Link.Root>
// Native anchor styled as primary button
<a