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
FioriButton
instance in a view hierarchy where this style is the current button style.Declaration
Swift
func makeBody(configuration: Configuration) -> Self.Body
Parameters
configuration
The 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() -> AnyFioriButtonStyle
Return Value
An
AnyFioriButtonStyle
wrapping this button style.