SwiftUI: Embed textfield in text

I would like to embed a textfield in a text (see sample). How do I solve this problem in SwiftUI?

My affords so far:

struct Home: View {
    @State private var text: String = "amet"

    var body: some View {
        HStack {
            Text("Lorem ipsum dolor sit")
            TextField("text", text: $text)
            Text(", consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua.")
        }
    }
}
Terms of Service

Privacy Policy

Cookie Policy