message: Removed redundant methods
diff: return self;
  }
  -/*- (void)didMoveToWindow
  -{
  - [super didMoveToWindow];
  - [self.reactViewController.navigationItem setRightBarButtonItem:self.button animated:YES];
  -}*/
  -
  - (void)didSetProps:(__unused NSArray<NSString *> *)changedProps
  {
  self.button.style = UIBarButtonItemStylePlain;
  self.button.action = @selector(buttonPressed);
  }
  -/*- (void)willMoveToSuperview:(nullable UIView *)newSuperview;
  -{
  - [super willMoveToSuperview:newSuperview];
  - if (!newSuperview && self.reactViewController.navigationItem.rightBarButtonItem == self.button) {
  - self.reactViewController.navigationItem.rightBarButtonItem = nil;
  - }
  -}*/
  -
  -(void)buttonPressed
  {
  if (!!self.onPress) {
  