File tree Expand file tree Collapse file tree 2 files changed +2
-7
lines changed Expand file tree Collapse file tree 2 files changed +2
-7
lines changed Original file line number Diff line number Diff line change @@ -5,9 +5,7 @@ import { cn } from "@/lib/utils"
55
66const BreadcrumbRoot = React . forwardRef <
77 HTMLElement ,
8- React . ComponentPropsWithoutRef < "nav" > & {
9- separator ?: React . ReactNode
10- }
8+ React . ComponentPropsWithoutRef < "nav" >
119> ( ( { className, ...props } , ref ) => (
1210 < nav
1311 ref = { ref }
@@ -65,8 +63,6 @@ const BreadcrumbPage = React.forwardRef<
6563> ( ( { className, ...props } , ref ) => (
6664 < span
6765 ref = { ref }
68- role = "link"
69- aria-disabled = "true"
7066 aria-current = "page"
7167 className = { cn ( "text-foreground font-semibold" , className ) }
7268 { ...props }
@@ -96,7 +92,6 @@ const BreadcrumbEllipsis = ({
9692} : React . ComponentProps < "span" > ) => (
9793 < span
9894 role = "presentation"
99- aria-hidden = "true"
10095 className = { cn ( "flex h-9 w-9 items-center justify-center" , className ) }
10196 { ...props }
10297 >
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ lastUpdated: 12 May, 2025
1111<ComponentInstall >
1212 <ComponentInstall.Cli >
1313 ``` sh
14- npx shadcn@latest add " https://retroui.dev/r/badge .json"
14+ npx shadcn@latest add " https://retroui.dev/r/breadcrumb .json"
1515 ```
1616 </ComponentInstall.Cli >
1717 <ComponentInstall.Manual >
You can’t perform that action at this time.
0 commit comments