Manta Developers
GitHub
Menu

@manta-eu/react/breadcrumbs

Reference for @manta-eu/react/breadcrumbs as it is on main.

Type Aliases

BreadcrumbItem = object

Properties

current?

optional current?: boolean

href?

optional href?: string

icon?

optional icon?: ReactNode

label

label: ReactNode

onClick?

optional onClick?: () => void

Returns

void


BreadcrumbLinkRenderer = (props) => ReactNode

Parameters

props
children

ReactNode

className

string

href

string

Returns

ReactNode


BreadcrumbsProps = object

Properties

aria-label?

optional aria-label?: string

className?

optional className?: string

items

items: BreadcrumbItem[]

optional renderLink?: BreadcrumbLinkRenderer

Render a router link (e.g. React Router / next) for href items instead of the default full-navigation <a>.

separator?

optional separator?: ReactNode

Functions

Breadcrumbs(props): Element

Parameters

props

BreadcrumbsProps

Returns

Element