Question : swiftui text field
Answered by : tony-sacco
@State private var username: String = ""
var body: some View { TextField("Type here", text: $username) .font(.system(size: 30)) }
Source : https://developer.apple.com/documentation/swiftui/textfield | Last Update : Sun, 24 Apr 22