A single item in a side navigation menu.
icon: Function0
A composable function that represents the icon of the item.
onClick: Function0
Callback invoked when the item is clicked.
primaryLabel: String
The primary label text of the item.
modifier: Modifier
Modifier to be applied to the item.
interactionSource: MutableInteractionSource
MutableInteractionSource for handling interactions.
secondaryLabel: String?
The secondary label text of the item (optional).
collapsed: Boolean
Whether the side navigation is collapsed or expanded.
dense: Boolean
Whether the item should be displayed in a dense format.
showExpandedIcon: Boolean
Whether to show the icon when expanded.
selected: Boolean
Whether the item is selected or not.