react-native-navigation的迁移库

RNNUIBarButtonItem.h 571B

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