#ifndef RCT_REMOVE_LEGACY_ARCH
#import "NVNavigationStackView.h"
#import <React/RCTViewManager.h>

@interface NVNavigationStackManager : RCTViewManager
@end

@implementation NVNavigationStackManager

RCT_EXPORT_MODULE()

- (UIView *)view
{
    return [[NVNavigationStackView alloc] initWithBridge:self.bridge];
}

RCT_EXPORT_VIEW_PROPERTY(keys, NSArray)
RCT_EXPORT_VIEW_PROPERTY(enterAnim, NSString)
RCT_EXPORT_VIEW_PROPERTY(enterAnimOff, BOOL)
RCT_EXPORT_VIEW_PROPERTY(enterTrans, NSDictionary)
RCT_EXPORT_VIEW_PROPERTY(exitTrans, NSDictionary)
RCT_EXPORT_VIEW_PROPERTY(customAnimation, BOOL)
RCT_EXPORT_VIEW_PROPERTY(sharedElements, NSArray)
RCT_EXPORT_VIEW_PROPERTY(underlayColor, UIColor)
RCT_EXPORT_VIEW_PROPERTY(mostRecentEventCount, NSInteger)
RCT_EXPORT_VIEW_PROPERTY(onWillNavigateBack, RCTDirectEventBlock)
RCT_EXPORT_VIEW_PROPERTY(onRest, RCTDirectEventBlock)

@end

#endif

