Skip to content

Instantly share code, notes, and snippets.

@phatnhse
Created July 28, 2023 06:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save phatnhse/1cc19d2299c6361dea99ad68cc3f79a6 to your computer and use it in GitHub Desktop.
Save phatnhse/1cc19d2299c6361dea99ad68cc3f79a6 to your computer and use it in GitHub Desktop.
simple text field - adjustment - jc
@Composable
private fun SimpleTextField() {
var text by remember { mutableStateOf("") }
TextField(value = text, onValueChange = {
text = it
})
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment