-
-
Save sturdysturge/36c9d8905da6631df83f582ac3c4388b 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
import SwiftUI | |
struct ContentView: View { | |
@State var html = "" | |
var body: some View { | |
VStack { | |
WebView(htmlString: $html) | |
TextEditor(text: $html) | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment