Skip to content

Instantly share code, notes, and snippets.

@k0siara
Created March 29, 2023 07:06
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save k0siara/68ddd01e4065055cdd3c9eb8bbf961b2 to your computer and use it in GitHub Desktop.
Save k0siara/68ddd01e4065055cdd3c9eb8bbf961b2 to your computer and use it in GitHub Desktop.
@Composable
fun DialogContent() {
var text by remember { mutableStateOf("") }
Scaffold(
topBar = { TopBar(onBackClicked = {}) },
) { paddingValues ->
Column(
modifier = Modifier
.padding(paddingValues)
.padding(horizontal = 16.dp)
) {
OutlinedTextField(
value = text,
onValueChange = { text = it }
)
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment