react-native-navigation的迁移库

RNNUIBarButtonItem.h 450B

123456789101112131415
  1. #import <Foundation/Foundation.h>
  2. #import <React/RCTRootView.h>
  3. #import <React/RCTRootViewDelegate.h>
  4. @interface RNNUIBarButtonItem : UIBarButtonItem <RCTRootViewDelegate>
  5. @property (nonatomic, strong) NSString* buttonId;
  6. -(instancetype)init:(NSString*)buttonId withIcon:(UIImage*)iconImage;
  7. -(instancetype)init:(NSString*)buttonId withTitle:(NSString*)title;
  8. -(instancetype)init:(NSString*)buttonId withCustomView:(RCTRootView*)reactView;
  9. @end