swiftui textfield inside square code example
Example: how to style textfield swiftui
TextField("Enter some text", text: $yourBindingHere)
.textFieldStyle(RoundedBorderTextFieldStyle())
TextField("Enter some text", text: $yourBindingHere)
.textFieldStyle(RoundedBorderTextFieldStyle())