How to set TextField focusRingType?

I would like to set focusRingType to none for a TextField but it does not have this modifier or property.


Is there a way to get to the actual NSTextField (or UITextField) view to set the property, or do I have to write my own SwiftUI view that wraps NSTextField?


The following code would do the job on a NSTextField, and I am looking for simular functionality in SwiftUI:

let textField = NSTextField()
textField.focusRingType = .none