amis-rpc-design/node_modules/react-native-safe-area-context/ios/RNCSafeAreaViewEdgeMode.m
2023-10-07 19:42:30 +08:00

17 lines
398 B
Objective-C

#import "RNCSafeAreaViewEdgeMode.h"
#import <React/RCTConvert.h>
@implementation RCTConvert (RNCSafeAreaViewEdgeMode)
RCT_ENUM_CONVERTER(
RNCSafeAreaViewEdgeMode,
(@{
@"off" : @(RNCSafeAreaViewEdgeModeOff),
@"additive" : @(RNCSafeAreaViewEdgeModeAdditive),
@"maximum" : @(RNCSafeAreaViewEdgeModeMaximum),
}),
RNCSafeAreaViewEdgeModeOff,
integerValue);
@end