ListOptionComponent

fun ListOptionComponent(modifier: Modifier, selection: ListSelection, options: List<ListOption>, inputDisabled: Boolean, onOptionChange: (ListOption) -> Unit)

The view for the selection of the options.

Parameters

modifier

The modifier that is applied to this component.

selection

The selection configuration.

options

The list of options.

inputDisabled

If input is disabled.

onOptionChange

Listener that is invoked when the state of an option changes.