OptionComponent

fun OptionComponent(modifier: Modifier, config: OptionConfig, options: List<Option>, inputDisabled: Boolean, onOptionChange: (Option) -> Unit)

The view for the selection of the options.

Parameters

modifier

The modifier that is applied to this component.

config

The general configuration.

options

The list of options.

inputDisabled

If input is disabled.

onOptionChange

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