title: SwiftUI List - Edit Row
body: <p>Is there any way to style the whole row in a List when in EditMode? i.e. a border around the whole text, delete and drag icon. How about changing the delete and drag icons?</p>
  
  <pre><code>                   List {
                          ForEach(options, id: \.self) { option in
                              HStack {
  
                                  Text(option)
                                  .font(.custom("Random", size: 18))
                                  .foregroundColor(Color.init(hex: "#000000"))
                                  .lineLimit(nil)
                                  .padding(.leading, 10)
  
  
                                  Spacer()
                              }
                              .cornerRadius(10)
                              .border(Color.black)
                              .padding()
                          }
                          .onMove(perform: move)
                          .onDelete(perform: delete)
  
  
                      }
                      .environment(\.editMode, $editMode)
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/jJBny.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/jJBny.png" alt="enter image description here"></a></p>