ALFailureStyle
@MainActor
public protocol ALFailureStyle
Used to customize the style of the ALFailureView.
-
The content parameter type.
Declaration
Swift
typealias Content = AnyView -
The message type.
Declaration
Swift
associatedtype MessageBody : View -
The retry button type.
Declaration
Swift
associatedtype RetryButtonBody : View -
The cancel button type.
Declaration
Swift
associatedtype CancelButtonBody : View -
Customizes the message.
Declaration
Swift
@ViewBuilder @MainActor func makeMessage(content: Content) -> MessageBodyParameters
contentThe raw content.
Return Value
The modified content.
-
Customizes the retry button.
Declaration
Swift
@ViewBuilder @MainActor func makeRetryButton(content: Content) -> RetryButtonBodyParameters
contentThe raw content.
Return Value
The modified content.
-
Customizes the cancel button.
Declaration
Swift
@ViewBuilder @MainActor func makeCancelButton(content: Content) -> CancelButtonBodyParameters
contentThe raw content.
Return Value
The modified content.
View on GitHub