```BasicTextField( value = text, onValueCh...
# compose
f
Copy code
BasicTextField(
    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
)