BPKBannerAlert
public struct BPKBannerAlert : View
A view that displays an icon and a non-editable text.
-
Creates a
BPKBannerAlert.Declaration
Parameters
typeControls which default icon to display in the banner.
styleStyle of the alert (default, onContrast). It controls the alert background color.
messageThe text to display in BPKText.
iconCustom icon to use in the banner instead of the one associated with the AlertType.
-
Declaration
Swift
public var body: some View { get } -
The style of the banner, which controls its background color
See moreDeclaration
Swift
public enum Style -
The type of the banner, which controls the default icon to display and its color.
See moreDeclaration
Swift
public enum AlertType