Created
March 29, 2023 08:01
-
-
Save alohaabhi/1bab40c7899afbcba8ba56be5a263f08 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var count = 1 | |
Text(text = "The count is $count.") | |
Button(onClick = { | |
count = count.inc() | |
}) { | |
Text(text = "Hit") | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment