FioriButtonStyle
public protocol FioriButtonStyle
The object that supplies styles to the content of FioriButton instances.
-
A view that represents the body of a button.
Declaration
Swift
associatedtype Body : View -
Creates a view that represents the body of a Fiori button.
The system calls this method for each
FioriButtoninstance in a view hierarchy where this style is the current button style.Declaration
Swift
func makeBody(configuration: Configuration) -> Self.BodyParameters
configurationThe properties of the Fiori button.
-
The properties of a Fiori button.
Declaration
Swift
typealias Configuration = FioriButtonStyleConfiguration -
eraseToAnyFioriButtonStyle()Extension methodReturn a type-erased Fiori button style.
Declaration
Swift
func eraseToAnyFioriButtonStyle() -> AnyFioriButtonStyleReturn Value
An
AnyFioriButtonStylewrapping this button style.