title: Rounded Borders in SwiftUI
body: <p>How do I round borders in SwiftUI?</p>
  
  <p>I would assume this would work:</p>
  
  <pre><code>.cornerRadius(10)
  .border(Color.white)
  </code></pre>
  
  <p>Tho it dose not work.</p>
  
  <p>This is my workaround for now:</p>
  
  <pre><code>.overlay(RoundedRectangle(cornerRadius: 10).stroke(lineWidth: 1).foregroundColor(.white))
  </code></pre>