Created
April 17, 2024 15:25
-
-
Save apatronl/b511573213d4d4c856e86b793dcdf8f6 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
struct ContentView: View { | |
@State private var showAlert: Bool = false | |
var body: some View { | |
Button("Show alert") { | |
showAlert = true | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment