title: How to change SwiftUI TextField style after tapping on it?
body: <p>I changed TextField style like this:</p>
  
  <pre><code>TextField("Test", text: $name).textFieldStyle(CustomTextFieldStyle())
  </code></pre>
  
  <p>now I want it to change style when user taps on it.</p>
  
  <p>My CustomTextFieldStyle is defined as: </p>
  
  <pre><code>  public struct CustomTextFieldStyle : TextFieldStyle {
      public func _body(configuration: TextField&lt;Self._Label&gt;) -&gt; some View {
          configuration
              .font(.callout)
              .padding(10)
              .background(
                  RoundedRectangle(cornerRadius: 4)
                      .strokeBorder(SBGreen, lineWidth: 2))
      }
  }
  </code></pre>