react-native-navigation的迁移库

BottomTabsAttachMode.m 452B

123456789101112131415161718
  1. #import "BottomTabsAttachMode.h"
  2. #import <React/RCTConvert.h>
  3. @implementation BottomTabsAttachMode
  4. - (AttachMode)convertString:(NSString *)string {
  5. return [self.class AttachMode:string];
  6. }
  7. RCT_ENUM_CONVERTER(AttachMode,
  8. (@{@"together": @(BottomTabsAttachModeTogether),
  9. @"afterInitialTab": @(BottomTabsAttachModeAfterInitialTab),
  10. @"onSwitchToTab": @(BottomTabsAttachModeOnSwitchToTab)
  11. }), BottomTabsAttachModeTogether, integerValue)
  12. @end