/* Copyright Airship and Contributors */

#import <React/RCTView.h>



#ifndef RNAirshipMessageViewNativeComponent_h
#define RNAirshipMessageViewNativeComponent_h


#ifdef RCT_NEW_ARCH_ENABLED
#import <React/RCTViewComponentView.h>
#endif

NS_ASSUME_NONNULL_BEGIN

#ifdef RCT_NEW_ARCH_ENABLED
@interface RNAirshipMessageView : RCTViewComponentView
#else
@interface RNAirshipMessageView : RCTView
#endif

@property (nonatomic, copy) RCTDirectEventBlock onLoadStarted;
@property (nonatomic, copy) RCTDirectEventBlock onLoadFinished;
@property (nonatomic, copy) RCTDirectEventBlock onLoadError;
@property (nonatomic, copy) RCTDirectEventBlock onClose;
@property (nonatomic, copy) NSString *messageID;

@end

NS_ASSUME_NONNULL_END
#endif
