-
-
Notifications
You must be signed in to change notification settings - Fork 937
Expand file tree
/
Copy pathRNMBXCameraViewManager.m
More file actions
27 lines (21 loc) · 958 Bytes
/
RNMBXCameraViewManager.m
File metadata and controls
27 lines (21 loc) · 958 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#if !RCT_NEW_ARCH_ENABLED
#import <React/RCTBridgeModule.h>
#import <React/RCTViewManager.h>
#import <Foundation/Foundation.h>
@interface RCT_EXTERN_REMAP_MODULE(RNMBXCamera, RNMBXCameraViewManager, RCTViewManager)
RCT_EXPORT_VIEW_PROPERTY(maxBounds, NSString)
RCT_EXPORT_VIEW_PROPERTY(animationDuration, NSNumber)
RCT_EXPORT_VIEW_PROPERTY(animationMode, NSString)
RCT_EXPORT_VIEW_PROPERTY(defaultStop, NSDictionary)
RCT_EXPORT_VIEW_PROPERTY(followUserLocation, BOOL)
RCT_EXPORT_VIEW_PROPERTY(followUserMode, NSString)
RCT_EXPORT_VIEW_PROPERTY(followZoomLevel, NSNumber)
RCT_EXPORT_VIEW_PROPERTY(followPitch, NSNumber)
RCT_EXPORT_VIEW_PROPERTY(followHeading, NSNumber)
RCT_EXPORT_VIEW_PROPERTY(followPadding, NSDictionary)
RCT_EXPORT_VIEW_PROPERTY(maxZoomLevel, NSNumber)
RCT_EXPORT_VIEW_PROPERTY(minZoomLevel, NSNumber)
RCT_EXPORT_VIEW_PROPERTY(onUserTrackingModeChange, RCTBubblingEventBlock)
RCT_EXPORT_VIEW_PROPERTY(stop, NSDictionary)
@end
#endif