Avatar
SwiftUI 的にはジェネリクスでやるのがご行儀が良いとは思います。型パラ付けるの面倒ではありますが、↓みたいに。 struct Button<Label> where Label : View