1/** 2 * Copyright (c) 2015-present, Facebook, Inc. 3 * All rights reserved. 4 * 5 * This source code is licensed under the BSD-style license found in the 6 * LICENSE file in the root directory of this source tree. An additional grant 7 * of patent rights can be found in the PATENTS file in the same directory. 8 */ 9 10#import "AIRMapCalloutManager.h" 11 12#import <React/RCTBridge.h> 13#import <React/RCTConvert.h> 14#import <React/RCTConvert+CoreLocation.h> 15#import <React/RCTEventDispatcher.h> 16#import <React/RCTViewManager.h> 17#import <React/UIView+React.h> 18#import "AIRMapMarker.h" 19#import "AIRMapCallout.h" 20 21@interface AIRMapCalloutManager() 22 23@end 24 25@implementation AIRMapCalloutManager 26 27RCT_EXPORT_MODULE() 28 29- (UIView *)view 30{ 31 return [AIRMapCallout new]; 32} 33 34RCT_EXPORT_VIEW_PROPERTY(tooltip, BOOL) 35RCT_EXPORT_VIEW_PROPERTY(onPress, RCTBubblingEventBlock) 36RCT_EXPORT_VIEW_PROPERTY(alphaHitTest, BOOL) 37 38@end 39