View

extension View
  • Overrides the message center predicate

    Declaration

    Swift

    public func messageCenterPredicate(_ predicate: MessageCenterPredicate?) -> some View

    Parameters

    predicate

    The message center predicate

  • Overrides the message center theme

    Declaration

    Swift

    public func messageCenterTheme(_ theme: MessageCenterTheme) -> some View

    Parameters

    theme

    The message center theme

  • Sets the list item style

    Declaration

    Swift

    public func setMessageCenterItemViewStyle<S>(_ style: S) -> some View
    where S: MessageCenterListItemViewStyle

    Parameters

    style

    The style

  • Sets the message style

    Declaration

    Swift

    public func setMessageCenterMessageViewStyle<S>(
        _ style: S
    ) -> some View where S: MessageViewStyle

    Parameters

    style

    The style