#ifndef RCT_NEW_ARCH_ENABLED

#import "BasePaperComponent.h"

// MARK: - ApplePay-specific Manager

@interface RCTApplePayManager : RCTBasePaperComponentManager
@end

@implementation RCTApplePayManager

RCT_EXPORT_MODULE(ApplePayPaper);

- (instancetype)init
{
    return [super initWithComponentType:RCTCheckoutComponentTypeApplePay];
}

RCT_EXPORT_VIEW_PROPERTY(config, NSDictionary);
RCT_EXPORT_VIEW_PROPERTY(onDimensionsChanged, RCTBubblingEventBlock);

@end

#endif
