kmod-cli 1.2.2 → 1.2.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -28,7 +28,7 @@ export const Breadcrumbs: React.FC<BreadcrumbProps> = ({ items, indicator, class
|
|
|
28
28
|
<nav className={cn("text-muted-foreground flex items-center space-x-1 text-sm", classNames?.container)} aria-label="Breadcrumb">
|
|
29
29
|
{items.map((item, index) => (
|
|
30
30
|
<React.Fragment key={index}>
|
|
31
|
-
{index !== 0 && indicator
|
|
31
|
+
{index !== 0 && (indicator || <ChevronRight className={cn("text-muted-foreground h-4 w-4", classNames?.indicator)} />)}
|
|
32
32
|
{item.href && !item.isCurrent && item.as === "link" ? (
|
|
33
33
|
<Link href={item.href} className={cn("hover:text-foreground transition-colors", classNames?.label)}>
|
|
34
34
|
{item.label}
|
|
@@ -38,7 +38,7 @@ export const Breadcrumbs: React.FC<BreadcrumbProps> = ({ items, indicator, class
|
|
|
38
38
|
{item.label}
|
|
39
39
|
</a>
|
|
40
40
|
) : (
|
|
41
|
-
<span className="text-foreground font-medium">{item.label}</span>
|
|
41
|
+
<span className={cn("text-foreground font-medium",classNames?.label)}>{item.label}</span>
|
|
42
42
|
)}
|
|
43
43
|
</React.Fragment>
|
|
44
44
|
))}
|