Document TextPicker Composable and it's util classes, functions
This commit is contained in:
parent
be18d9859d
commit
ef15aca31f
15 changed files with 311 additions and 45 deletions
|
|
@ -59,9 +59,9 @@ fun TextPickerScreen() {
|
|||
var selected by remember { mutableStateOf(0) }
|
||||
LinedTextPicker(
|
||||
modifier = Modifier.defaultMinSize(minWidth = 200.dp),
|
||||
selected = selected,
|
||||
selectedIndex = selected,
|
||||
textForIndex = text::get,
|
||||
onSelectedChange = {
|
||||
onSelectedIndexChange = {
|
||||
selected = it
|
||||
},
|
||||
textStyle = MaterialTheme.typography.h5,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue