SecondaryButtonStyle
public struct SecondaryButtonStyle : PrimitiveButtonStyle
An object that provides the Fiori secondary button style for Button
.
-
Undocumented
Declaration
Swift
public init(colorStyle: FioriButtonColorStyle = .tint, 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.