//
//  MVMCoreUITopAlertBaseView.h
//  mobilefirst
//
//  Created by Scott Pfeil on 9/6/16.
//  Copyright © 2016 Verizon Wireless. All rights reserved.
//

#import <UIKit/UIKit.h>
#import <MVMCore/MVMCoreTopAlertAnimationDelegateProtocol.h>
#import <MVMCoreUI/MFView.h>

@class MFCustomButton;

@interface MVMCoreUITopAlertBaseView : MFView

// Adds a top alert action.
+ (void)addActionToButton:(nonnull MFCustomButton *)button actionMap:(nullable NSDictionary *)actionMap additionalData:(nullable NSDictionary *)additionalData;

// Returns a top alert styled label.
+ (nonnull UILabel *)topAlertLabel;

// Returns a string for the passed in messages.
+ (nullable NSAttributedString *)getStringForMessage:(nullable NSString *)message subMessage:(nullable NSString *)subMessage color:(nullable UIColor *)color;

// Adds a close button.
- (nonnull MFCustomButton *)addCloseButtonWithAnimationDelegate:(nullable id <MVMCoreTopAlertAnimationDelegateProtocol>)animationDelegate;

// Handles making various parts accessible.
- (void)handleAccessibility;

@end
