import React, { forwardRef } from 'react'; import { Surface, cn, surfaceClasses, useEffectiveSurface } from '../common'; /* ───────────────────────────────────────────────────────────────────────── PixelBreadcrumb — trail with pixel chevron separators. ───────────────────────────────────────────────────────────────────────── */ /** Single crumb item for {@link PixelBreadcrumb}. */ export type PixelBreadcrumbItem = { /** Visible label for the crumb. */ label: string; /** Optional anchor href — rendered as `` when set without `onClick`. */ href?: string; /** Optional click handler — rendered as ` ) : item.href ? ( {item.label} ) : ( {item.label} )} ))} ); }); PixelBreadcrumb.displayName = 'PixelBreadcrumb';