ButtonStyle
public protocol ButtonStyle
A type that specifies how the style of a button is changed.
-
Returns a modified version of the Button’s label
Declaration
Swift
func makeBody(configuration: Self.Configuration) -> View
-
The properties of a
Button
instance being created.Declaration
Swift
typealias Configuration = ButtonStyleConfiguration