iOS Swift - State Management in SwiftUI
What is wrong with this SwiftUI code?
struct ContentView: View {
@State var text: String
var body: some View {
TextField("Enter text", text: $text)
}
}