Type Alias

DefaultToggleStyle.Body

A view that represents the appearance and interaction of a toggle. あるビュー、それはあるトグルの外観と相互作用を表します。

Declaration 宣言

typealias Body = some View

Discussion 議論

SwiftUI infers this type automatically based on the View instance that you return from your implementation of the makeBody(configuration:) method.

See Also 参照

Rendering a Toggle トグルを描出する