diff --git a/packages/react-native/ReactApple/Libraries/RCTUIKit/RCTUIKitCompat.h b/packages/react-native/ReactApple/Libraries/RCTUIKit/RCTUIKitCompat.h index db409fea1ab2..f74d46e2e6d3 100644 --- a/packages/react-native/ReactApple/Libraries/RCTUIKit/RCTUIKitCompat.h +++ b/packages/react-native/ReactApple/Libraries/RCTUIKit/RCTUIKitCompat.h @@ -198,11 +198,8 @@ typedef NS_ENUM(NSInteger, UIViewContentMode) { }; // UIUserInterfaceLayoutDirection -enum : NSInteger -{ - UIUserInterfaceLayoutDirectionLeftToRight = NSUserInterfaceLayoutDirectionLeftToRight, - UIUserInterfaceLayoutDirectionRightToLeft = NSUserInterfaceLayoutDirectionRightToLeft, -}; +#define UIUserInterfaceLayoutDirectionLeftToRight NSUserInterfaceLayoutDirectionLeftToRight +#define UIUserInterfaceLayoutDirectionRightToLeft NSUserInterfaceLayoutDirectionRightToLeft // UIActivityIndicatorViewStyle typedef NS_ENUM(NSInteger, UIActivityIndicatorViewStyle) {