title: How to inherit from a SwiftUI Button
body: <p>Is it possible to inherit from a Button in SwiftUI? I tired it and I get an error every time, since <code>Button</code> is expecting some kind of generic argument.</p>
  
  <pre><code>import SwiftUI
  
  struct ButtonSubClass: Button&lt;Label: View&gt; {
      var body: some View {
          Text("Hello, World!")
      }
  }
  </code></pre>
  
  <p>XCode automatically adds the <code>&lt;Label: View&gt;</code> part, but I don't know what it means or what I actually need to put in the braces.
  I tried <code>Button&lt;View&gt;</code>, but then I get the error <code>Protocol type 'View' cannot conform to 'View' because only concrete types can conform to protocols</code></p>