react-native-navigation的迁移库

RNNUIBarButtonItem.h 532B

12345678910111213141516
  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. -(instancetype)init:(NSString*)buttonId withSystemItem:(NSString*)systemItemName;
  10. @end