MySegmentedButtonRowIndex
fun <T> MySegmentedButtonRowIndex(items: List<T>, selectedIndex: MutableState<Int>, modifier: Modifier = Modifier, mapper: @Composable (item: T) -> String = { it.toString() }, icons: List<@Composable () -> Unit>? = null, forceSelection: Boolean = true, color: Color = MaterialTheme.colorScheme.primary, onColor: Color = MaterialTheme.colorScheme.onPrimary, onSelectionChanged: (Int) -> Unit? = null)
fun <T> MySegmentedButtonRowIndex(items: List<T>, selectedIndex: Int, modifier: Modifier = Modifier, mapper: @Composable (item: T) -> String = { it.toString() }, icons: List<@Composable () -> Unit>? = null, forceSelection: Boolean = true, color: Color = MaterialTheme.colorScheme.primary, onColor: Color = MaterialTheme.colorScheme.onPrimary, onSelectionChanged: (Int) -> Unit)