BannerMessage

public struct BannerMessage
extension BannerMessage: View
extension BannerMessage: _ViewEmptyChecking

Undocumented

  • 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)
  • 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)
  • Undocumented

    Declaration

    Swift

    init(_ configuration: BannerMessageConfiguration)
  • Declaration

    Swift

    public var body: some View { get }
  • Undocumented

    Declaration

    Swift

    public var isEmpty: Bool { get }