#ifdef RCT_NEW_ARCH_ENABLED

#import "Card.h"
#import "FabricMacros.h"

#import <react/renderer/components/CheckoutReactNativeComponents/ComponentDescriptors.h>
#import <react/renderer/components/CheckoutReactNativeComponents/EventEmitters.h>
#import <react/renderer/components/CheckoutReactNativeComponents/Props.h>
#import <react/renderer/components/CheckoutReactNativeComponents/RCTComponentViewHelpers.h>
#import <UIKit/UIKit.h>

#import "RCTFabricComponentsPlugins.h"

#if __has_include(<CheckoutReactNativeComponents/CheckoutReactNativeComponents-Swift.h>)
  #import <CheckoutReactNativeComponents/CheckoutReactNativeComponents-Swift.h>
#else
  #import <CheckoutReactNativeComponents-Swift.h>
#endif

using namespace facebook::react;

@interface Card () <RCTCardViewProtocol>
@end

DECLARE_FABRIC_COMPONENT(
    Card,
    FabricComponentTypeCard,
    CardProps,
    CardConfigStruct,
    CardEventEmitter,
    CardComponentDescriptor,
    DECLARE_FABRIC_CARD_CONFIG
)

#endif /* RCT_NEW_ARCH_ENABLED */
