diff --git a/ios/RNIModalSheetView/RNIModalSheetView.h b/ios/RNIModalSheetView/RNIModalSheetView.h index 2152715..536f3fd 100644 --- a/ios/RNIModalSheetView/RNIModalSheetView.h +++ b/ios/RNIModalSheetView/RNIModalSheetView.h @@ -5,11 +5,8 @@ // Created by Dominic Go on 6/6/24. // -#if __has_include() -#import -#else -#import -#endif +#import "RNIHeaderUtils.h" +#import RNI_UTILITIES_HEADER(RNIBaseView.h) #if RCT_NEW_ARCH_ENABLED #import diff --git a/ios/RNIModalSheetView/RNIModalSheetView.mm b/ios/RNIModalSheetView/RNIModalSheetView.mm index 9fd15fc..c73a432 100644 --- a/ios/RNIModalSheetView/RNIModalSheetView.mm +++ b/ios/RNIModalSheetView/RNIModalSheetView.mm @@ -6,30 +6,19 @@ // #import "RNIModalSheetView.h" +#import "RNIHeaderUtils.h" #import "../Swift.h" -#if __has_include() -#import -#import -#import -#import -#else -#import -#import -#import -#import -#endif +#import RNI_UTILITIES_HEADER(RNIBaseView.h) +#import RNI_UTILITIES_HEADER(RNIContentViewParentDelegate.h) +#import RNI_UTILITIES_HEADER(UIApplication+RNIHelpers.h) +#import RNI_UTILITIES_HEADER(RNIObjcUtils.h) #if RCT_NEW_ARCH_ENABLED #include "RNIModalSheetViewComponentDescriptor.h" -#if __has_include() -#include -#include -#else -#include -#include -#endif +#import RNI_UTILITIES_HEADER(RNIBaseViewState.h) +#import RNI_UTILITIES_HEADER(RNIBaseViewProps.h) #import #import diff --git a/ios/RNIModalSheetView/RNIModalSheetViewComponentDescriptor.h b/ios/RNIModalSheetView/RNIModalSheetViewComponentDescriptor.h index 5b6e388..251ddab 100644 --- a/ios/RNIModalSheetView/RNIModalSheetViewComponentDescriptor.h +++ b/ios/RNIModalSheetView/RNIModalSheetViewComponentDescriptor.h @@ -11,7 +11,9 @@ #include "RNIModalSheetViewShadowNode.h" #include "RNIBaseViewComponentDescriptor.h" -#include +#include "RNIHeaderUtils.h" +#import RNI_UTILITIES_HEADER(RNIBaseViewState.h) + #include diff --git a/ios/RNIModalSheetView/RNIModalSheetViewManager.mm b/ios/RNIModalSheetView/RNIModalSheetViewManager.mm index 340348f..223a998 100644 --- a/ios/RNIModalSheetView/RNIModalSheetViewManager.mm +++ b/ios/RNIModalSheetView/RNIModalSheetViewManager.mm @@ -6,18 +6,15 @@ // #import "RNIModalSheetView.h" +#import "RNIHeaderUtils.h" #import +#import RNI_UTILITIES_HEADER(RNIBaseViewUtils.h) + #import "RCTBridge.h" #import #import -#if __has_include() -#import -#else -#import -#endif - @interface RNIModalSheetViewManager : RCTViewManager @end diff --git a/ios/RNIModalSheetView/RNIModalSheetViewShadowNode.h b/ios/RNIModalSheetView/RNIModalSheetViewShadowNode.h index dfc7708..bb25644 100644 --- a/ios/RNIModalSheetView/RNIModalSheetViewShadowNode.h +++ b/ios/RNIModalSheetView/RNIModalSheetViewShadowNode.h @@ -8,9 +8,10 @@ #if __cplusplus #pragma once -#include -#include -#include +#include "RNIHeaderUtils.h" +#import RNI_UTILITIES_HEADER(RNIBaseViewShadowNode.h) +#import RNI_UTILITIES_HEADER(RNIBaseViewProps.h) +#import RNI_UTILITIES_HEADER(RNIBaseViewEventEmitter.h) #include #include