OudsNavigationBarItem

constructor(selected: Boolean, onClick: () -> Unit, icon: OudsNavigationBarItemIcon, label: String? = null, badge: OudsNavigationBarItemBadge? = null, interactionSource: MutableInteractionSource? = null)

Parameters

selected

Whether this item is selected or not.

onClick

Called when this item is clicked.

icon

Icon of the item.

label

Label of the item.

badge

Optional badge display on the item icon.

interactionSource

MutableInteractionSource that will be used to dispatch events when this item is pressed, hovered or focused.