Avatar
なるほど!ありがとうございます! こうしちゃえばいいんですね。 enum Components: View { public var body: some View {} case a(ComponentA) } struct ComponentA {}