Compose Preview Lab
Toggle table of contents
0.1.0-dev09
common
Target filter
common
Switch theme
Search in API
Skip to content
Compose Preview Lab
ui
/
me.tbsten.compose.preview.lab.ui.components
/
SelectButton
Select
Button
@
Composable
fun
<
V
>
SelectButton
(
choices
:
List
<
V
>
,
currentIndex
:
Int
,
onSelect
:
(
Int
)
->
Unit
,
title
:
(
V
)
->
String
,
modifier
:
Modifier
=
Modifier
,
itemDetail
:
(
V
)
->
String
?
=
{ null }
)
@
Composable
fun
<
V
>
SelectButton
(
value
:
V
,
choices
:
List
<
V
>
,
onSelect
:
(
V
)
->
Unit
,
title
:
(
V
)
->
String
,
modifier
:
Modifier
=
Modifier
,
itemDetail
:
(
V
)
->
String
?
=
{ null }
)