AppSelectionSimple

fun AppSelectionSimple(modifier: Modifier = Modifier, list: List<String>, onSelectionChanged: (AppSelectionOption) -> Unit, color: Color = MaterialTheme.colorScheme.onBackground)

A simplified selection component that takes a list of strings and manages its own state.

Parameters

modifier

The Modifier to be applied to the selection component.

list

The list of string options to display.

onSelectionChanged

Callback when the selection changes.

color

The background color for the selection component.