OudsNavigationBarItem
An OUDS navigation bar item.
It must be used in OudsNavigationBar.
The recommended configuration for an OudsNavigationBarItem depends on how many items there are inside a OudsNavigationBarItem:
Three destinations: Display icons and text labels for all destinations.
Four destinations: Active destinations display an icon and text label. Inactive destinations display icons, and text labels are recommended.
Five destinations: Active destinations display an icon and text label. Inactive destinations use icons, and use text labels if space permits.
A OudsNavigationBarItem always shows text labels (if it exists) when selected. Showing text labels if not selected is controlled by alwaysShowLabel.
Parameters
Whether this item is selected or not.
Called when this item is clicked.
Icon of the item.
Modifier applied to the navigation bar item.
Label of the item.
Controls the enabled state of the item. When false, the item will not be clickable.
Optional badge display on the item icon.
Whether the label should always be shown.
MutableInteractionSource that will be used to dispatch events when this item is pressed, hovered or focused.