PrimaryButtonStyle
public struct PrimaryButtonStyle : PrimitiveButtonStyle
An object that provides Fiori primary button style for Button
.
-
Undocumented
Declaration
Swift
public init(isSelectionPersistent: Bool = false)
-
Creates a view that represents the body of a button.
The system calls this method for each
Button
instance in a view hierarchy where this style is the current button style.Declaration
Swift
public func makeBody(configuration: PrimitiveButtonStyle.Configuration) -> some View
Parameters
configuration
The properties of the button.