Skip to content

Commit

Permalink
OSS build fix: use #import "..." instead of #import <RCTText/...>
Browse files Browse the repository at this point in the history
Reviewed By: javache

Differential Revision: D5361615

fbshipit-source-id: 90d08eb5dea81253c1f7ea582ed2508eec1ba117
  • Loading branch information
mhorowitz authored and ide committed Jul 7, 2017
1 parent 8373e63 commit 5470bb2
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 5 deletions.
3 changes: 2 additions & 1 deletion Libraries/Text/RCTTextField.h
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -9,10 +9,11 @@


#import <UIKit/UIKit.h> #import <UIKit/UIKit.h>


#import <RCTText/RCTTextInput.h>
#import <React/RCTComponent.h> #import <React/RCTComponent.h>
#import <React/RCTView.h> #import <React/RCTView.h>


#import "RCTTextInput.h"

@class RCTUITextField; @class RCTUITextField;


@interface RCTTextField : RCTTextInput @interface RCTTextField : RCTTextInput
Expand Down
3 changes: 2 additions & 1 deletion Libraries/Text/RCTTextInput.h
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -9,9 +9,10 @@


#import <UIKit/UIKit.h> #import <UIKit/UIKit.h>


#import <RCTText/RCTBackedTextInputViewProtocol.h>
#import <React/RCTView.h> #import <React/RCTView.h>


#import "RCTBackedTextInputViewProtocol.h"

@class RCTBridge; @class RCTBridge;
@class RCTEventDispatcher; @class RCTEventDispatcher;


Expand Down
3 changes: 2 additions & 1 deletion Libraries/Text/RCTTextView.h
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -9,10 +9,11 @@


#import <UIKit/UIKit.h> #import <UIKit/UIKit.h>


#import <RCTText/RCTTextInput.h>
#import <React/RCTView.h> #import <React/RCTView.h>
#import <React/UIView+React.h> #import <React/UIView+React.h>


#import "RCTTextInput.h"

@class RCTBridge; @class RCTBridge;


@interface RCTTextView : RCTTextInput <UITextViewDelegate> @interface RCTTextView : RCTTextInput <UITextViewDelegate>
Expand Down
2 changes: 1 addition & 1 deletion Libraries/Text/RCTUITextField.h
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@


#import <UIKit/UIKit.h> #import <UIKit/UIKit.h>


#import <RCTText/RCTBackedTextInputViewProtocol.h> #import "RCTBackedTextInputViewProtocol.h"


NS_ASSUME_NONNULL_BEGIN NS_ASSUME_NONNULL_BEGIN


Expand Down
2 changes: 1 addition & 1 deletion Libraries/Text/RCTUITextView.h
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@


#import <UIKit/UIKit.h> #import <UIKit/UIKit.h>


#import <RCTText/RCTBackedTextInputViewProtocol.h> #import "RCTBackedTextInputViewProtocol.h"


NS_ASSUME_NONNULL_BEGIN NS_ASSUME_NONNULL_BEGIN


Expand Down

0 comments on commit 5470bb2

Please sign in to comment.