Franck
11/20/2023, 10:15 AMBasicTextField(
value = text,
onValueChange = {
text = it
onDoSearch(text)
},
modifier = Modifier
.fillMaxWidth()
.padding(horizontal = 16.dp)
.border(1.dp, Color.Black)
.background(Color.White)
.height(48.dp),
textStyle = androidx.compose.ui.text.TextStyle(textAlign = TextAlign.Center) // Center text horizontally and vertically
)