#import #ifdef RCT_NEW_ARCH_ENABLED #import #import #endif #import #import #import @interface RNSSearchBar : #ifdef RCT_NEW_ARCH_ENABLED RCTViewComponentView #else UIView #endif @property (nonatomic) BOOL hideWhenScrolling; @property (nonatomic, retain) UISearchController *controller; #ifdef RCT_NEW_ARCH_ENABLED #else @property (nonatomic, copy) RCTBubblingEventBlock onChangeText; @property (nonatomic, copy) RCTBubblingEventBlock onCancelButtonPress; @property (nonatomic, copy) RCTBubblingEventBlock onSearchButtonPress; @property (nonatomic, copy) RCTBubblingEventBlock onFocus; @property (nonatomic, copy) RCTBubblingEventBlock onBlur; #endif @end @interface RNSSearchBarManager : RCTViewManager @end