react-native-navigation的迁移库

RCTConvert+SideMenuOpenGestureMode.h 381B

1234567891011121314151617
  1. #import <React/RCTConvert.h>
  2. #import "MMDrawerController.h"
  3. @interface RCTConvert (SideMenuOpenGestureMode)
  4. @end
  5. @implementation RCTConvert (SideMenuOpenGestureMode)
  6. RCT_ENUM_CONVERTER(MMOpenDrawerGestureMode,
  7. (@{@"entireScreen": @(MMOpenDrawerGestureModeAll),
  8. @"bezel": @(MMOpenDrawerGestureModeNone),
  9. }), MMOpenDrawerGestureModeAll, integerValue)
  10. @end