Skip to content

Commit 9ee22ff

Browse files
coolsoftwaretylerdominicstop
authored andcommitted
fix: more header path issues
1 parent 76264e3 commit 9ee22ff

File tree

5 files changed

+27
-0
lines changed

5 files changed

+27
-0
lines changed

ios/RNIContextMenuButton/RNIContextMenuButton.mm

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,13 @@
2323
#if RCT_NEW_ARCH_ENABLED
2424
#include "RNIContextMenuButtonComponentDescriptor.h"
2525

26+
#if __has_include(<react_native_ios_utilities/RNIBaseViewState.h>)
2627
#include <react_native_ios_utilities/RNIBaseViewState.h>
2728
#include <react_native_ios_utilities/RNIBaseViewProps.h>
29+
#else
30+
#include <react-native-ios-utilities/RNIBaseViewState.h>
31+
#include <react-native-ios-utilities/RNIBaseViewProps.h>
32+
#endif
2833

2934
#import <React/RCTConversions.h>
3035
#import <React/RCTFabricComponentsPlugins.h>

ios/RNIContextMenuButton/RNIContextMenuButtonComponentDescriptor.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,11 @@
1111
#include "RNIContextMenuButtonShadowNode.h"
1212
#include "RNIBaseViewComponentDescriptor.h"
1313

14+
#if __has_include(<react_native_ios_utilities/RNIBaseViewState.h>)
1415
#include <react_native_ios_utilities/RNIBaseViewState.h>
16+
#else
17+
#include <react-native-ios-utilities/RNIBaseViewState.h>
18+
#endif
1519

1620
#include <react/renderer/core/ConcreteComponentDescriptor.h>
1721

ios/RNIContextMenuButton/RNIContextMenuButtonShadowNode.h

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,15 @@
88
#if __cplusplus
99
#pragma once
1010

11+
#if __has_include(<react_native_ios_utilities/RNIBaseViewShadowNode.h>)
1112
#include <react_native_ios_utilities/RNIBaseViewShadowNode.h>
1213
#include <react_native_ios_utilities/RNIBaseViewProps.h>
1314
#include <react_native_ios_utilities/RNIBaseViewEventEmitter.h>
15+
#else
16+
#include <react-native-ios-utilities/RNIBaseViewShadowNode.h>
17+
#include <react-native-ios-utilities/RNIBaseViewProps.h>
18+
#include <react-native-ios-utilities/RNIBaseViewEventEmitter.h>
19+
#endif
1420

1521
#include <react/renderer/components/RNIContextMenuViewSpec/EventEmitters.h>
1622
#include <react/renderer/components/RNIContextMenuViewSpec/Props.h>

ios/RNIContextMenuView/RNIContextMenuViewComponentDescriptor.h

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,17 @@
88
#if __cplusplus
99
#pragma once
1010

11+
1112
#include "RNIContextMenuViewShadowNode.h"
1213
#include "RNIBaseViewComponentDescriptor.h"
1314

15+
#if __has_include(<react_native_ios_utilities/RNIBaseViewComponentDescriptor.h>)
1416
#include <react_native_ios_utilities/RNIBaseViewComponentDescriptor.h>
1517
#include <react_native_ios_utilities/RNIBaseViewState.h>
18+
#else
19+
#include <react-native-ios-utilities/RNIBaseViewComponentDescriptor.h>
20+
#include <react-native-ios-utilities/RNIBaseViewState.h>
21+
#endif
1622

1723
#include <react/renderer/core/ConcreteComponentDescriptor.h>
1824

ios/RNIContextMenuView/RNIContextMenuViewShadowNode.h

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,15 @@
88
#if __cplusplus
99
#pragma once
1010

11+
#if __has_include(<react_native_ios_utilities/RNIBaseViewShadowNode.h>)
1112
#include <react_native_ios_utilities/RNIBaseViewShadowNode.h>
1213
#include <react_native_ios_utilities/RNIBaseViewProps.h>
1314
#include <react_native_ios_utilities/RNIBaseViewEventEmitter.h>
15+
#else
16+
#include <react-native-ios-utilities/RNIBaseViewShadowNode.h>
17+
#include <react-native-ios-utilities/RNIBaseViewProps.h>
18+
#include <react-native-ios-utilities/RNIBaseViewEventEmitter.h>
19+
#endif
1420

1521
#include <react/renderer/components/RNIContextMenuViewSpec/EventEmitters.h>
1622
#include <react/renderer/components/RNIContextMenuViewSpec/Props.h>

0 commit comments

Comments
 (0)