Navigation Rail Item
fun NavigationRailItem(selected: Boolean, onClick: () -> Unit, icon: ImageVector, label: String, modifier: Modifier = Modifier, enabled: Boolean = true)
A NavigationRailItem that is suitable for NavigationRail.
Parameters
selected
Whether the item is selected.
on Click
The callback when the item is clicked.
icon
The icon of the item.
label
The label of the item.
modifier
The modifier to be applied to the NavigationRailItem.
enabled
Whether the item is enabled.