Update header imports for RN 0.40 (#670)

This PR has been tested with the other two PRs for the RN 0.40.
This commit is contained in:
Christopher Dro
2017-01-23 18:21:03 -08:00
committed by BO KANG
parent 0a14e3590d
commit 25851d24a1
4 changed files with 11 additions and 11 deletions

View File

@@ -1,5 +1,5 @@
#if __has_include("RCTEventEmitter.h")
#import "RCTEventEmitter.h"
#import <React/RCTEventEmitter.h>
#else
#import "React/RCTEventEmitter.h" // Required when used as a Pod in a Swift project
#endif

View File

@@ -1,9 +1,9 @@
#import "RCTAssert.h"
#import "RCTBridgeModule.h"
#import "RCTConvert.h"
#import "RCTEventDispatcher.h"
#import "RCTRootView.h"
#import "RCTUtils.h"
#import <React/RCTAssert.h>
#import <React/RCTBridgeModule.h>
#import <React/RCTConvert.h>
#import <React/RCTEventDispatcher.h>
#import <React/RCTRootView.h>
#import <React/RCTUtils.h>
#import "CodePush.h"

View File

@@ -1,5 +1,5 @@
#import "CodePush.h"
#import "RCTConvert.h"
#import <React/RCTConvert.h>
// Extending the RCTConvert class allows the React Native
// bridge to handle args of type "CodePushInstallMode"
@@ -11,4 +11,4 @@ RCT_ENUM_CONVERTER(CodePushInstallMode, (@{ @"codePushInstallModeImmediate": @(C
CodePushInstallModeImmediate, // Default enum value
integerValue)
@end
@end

View File

@@ -1,5 +1,5 @@
#import "CodePush.h"
#import "RCTConvert.h"
#import <React/RCTConvert.h>
// Extending the RCTConvert class allows the React Native
// bridge to handle args of type "CodePushUpdateState"
@@ -12,4 +12,4 @@ RCT_ENUM_CONVERTER(CodePushUpdateState, (@{ @"codePushUpdateStateRunning": @(Cod
CodePushUpdateStateRunning, // Default enum value
integerValue)
@end
@end