clickableItem
abstract fun clickableItem(onClick: () -> Unit, label: String, icon: @Composable () -> Unit? = null, weight: Float = Float.NaN, enabled: Boolean = true)
Adds a clickable item to the ButtonGroup.
Parameters
onClick
The action to perform when the item is clicked.
label
The text label for the item.
icon
An optional composable representing the item's icon.
weight
the weight to be applied to this item, please see ButtonGroupScope.weight
enabled
Whether the item is enabled.