FioriPrimaryButtonStyle
public struct FioriPrimaryButtonStyle : FioriButtonStyle
A Fiori button style for the primary button.
-
Create a
FioriPrimaryButtonStyleinstance.Declaration
Swift
public init(_ maxWidth: CGFloat? = nil, minHeight: CGFloat? = nil, loadingState: FioriButtonLoadingState = .unspecified, isLoading: Bool = false)Parameters
maxWidthMax width of the button visible area.
minHeightMin height of the button visible area.
loadingStateLoading state of the button.
-
Declaration
Swift
public func makeBody(configuration: Configuration) -> some View