Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
//
@Composable
fun HelloWorld(modifier: Modifier = Modifier, sayHi: MutableState<String>) {
Column(modifier = modifier) {
Text(sayHi.value)
}
}
//
@Composable
fun HelloWorld(modifier: Modifier = Modifier, sayHi: String) {
Column(modifier = modifier) {
Text(sayHi)
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment