StylishBreadcrumbItem

data class StylishBreadcrumbItem(val label: String, val onClick: () -> Unit? = null, val icon: @Composable () -> Unit? = null)

One entry of a StylishBreadcrumb navigation trail.

Constructors

Link copied to clipboard
constructor(label: String, onClick: () -> Unit? = null, icon: @Composable () -> Unit? = null)

Properties

Link copied to clipboard
val icon: @Composable () -> Unit?

Optional leading icon shown before label.

Link copied to clipboard

Display text of the item.

Link copied to clipboard
val onClick: () -> Unit?

Optional callback invoked when the item is tapped. When null, the item renders as static text (typically the current page — the last item).