Saltar al contenido
El Muestrario

componente · @solu30/ui-kit/navigation

BreadcrumbsFromPath

El componente, montado

Cargando el componente del paquete instalado…

Cargando el chunk del paquete instalado…

De dónde se importa

import { BreadcrumbsFromPath } from '@solu30/ui-kit/navigation'

Props

5 props declaradas en los tipos de la versión instalada.
PropRequeridaTipoQué hace
pathnamestringCurrent URL pathname (e.g. "/admin/projects/prj_tcp"). Typically from `usePathname()` in Next.js or `useLocation().pathname` in React Router.
routeLabelsopcionalRecord<string, string>Map of path segment → human-readable label. Segments not found here are title-cased automatically.
skipLeadingSegmentsopcionalnumberNumber of leading segments to skip before showing breadcrumbs. Defaults to 1 (e.g. hides the root "/admin" segment).
renderLinkopcional(href: string, label: string) => React__default.ReactNodeRender a link for non-terminal crumbs. Defaults to a plain `<a>` element. @param href - The full href for this crumb @param label - The display label
classNameopcionalstringAdditional class names for the nav element.