BannerMessage
public struct BannerMessage
extension BannerMessage: View
extension BannerMessage: _ViewEmptyChecking
Undocumented
-
init(icon:
title: closeAction: topDivider: bannerTapAction: alignment: hideSeparator: messageType: showDetailLink: ) Undocumented
Declaration
Swift
public init(@ViewBuilder icon: () -> any View = { EmptyView() }, @ViewBuilder title: () -> any View, @ViewBuilder closeAction: () -> any View = { FioriButton { _ in Image(systemName: "xmark") } }, @ViewBuilder topDivider: () -> any View = { Rectangle().fill(Color.clear) }, bannerTapAction: (() -> Void)? = nil, alignment: HorizontalAlignment = .center, hideSeparator: Bool = false, messageType: BannerMultiMessageType = .negative, showDetailLink: Bool = false)
-
init(icon:
title: closeAction: topDivider: bannerTapAction: alignment: hideSeparator: messageType: showDetailLink: ) Undocumented
Declaration
Swift
init(icon: Image? = nil, title: AttributedString, closeAction: FioriButton? = FioriButton { _ in Image(systemName: "xmark") }, @ViewBuilder topDivider: () -> any View = { Rectangle().fill(Color.clear) }, bannerTapAction: (() -> Void)? = nil, alignment: HorizontalAlignment = .center, hideSeparator: Bool = false, messageType: BannerMultiMessageType = .negative, showDetailLink: Bool = false)
-
Undocumented
Declaration
Swift
init(_ configuration: BannerMessageConfiguration)
-
Declaration
Swift
public var body: some View { get }
-
Undocumented
Declaration
Swift
public var isEmpty: Bool { get }