1 // This guard prevent this file to be compiled in the old architecture.
2 #ifdef RCT_NEW_ARCH_ENABLED
3 #import <React/RCTViewComponentView.h>
4 #import <React/RCTConversions.h>
5 #import <WebKit/WKDataDetectorTypes.h>
6 #import <UIKit/UIKit.h>
7 #import <react/renderer/components/RNCWebViewSpec/Props.h>
8 
9 #ifndef NativeComponentExampleComponentView_h
10 #define NativeComponentExampleComponentView_h
11 
12 NS_ASSUME_NONNULL_BEGIN
13 
14 @interface RNCWebView : RCTViewComponentView
15 @end
16 
17 namespace facebook {
18 namespace react {
19     bool operator==(const RNCWebViewMenuItemsStruct& a, const RNCWebViewMenuItemsStruct& b)
20     {
21         return b.key == a.key && b.label == a.label;
22     }
23 }
24 }
25 
26 NS_ASSUME_NONNULL_END
27 
28 #endif /* NativeComponentExampleComponentView_h */
29 #endif /* RCT_NEW_ARCH_ENABLED */
30