Skip to content

Commit aff6bad

Browse files
jimmy623facebook-github-bot
authored andcommitted
TextInput: Refactoring of RCTBackedTextInputViewProtocol (merging some props into defaultTextAttributes)
Summary: Remove textColor font and textAlignment in RCTBackedTextInputViewProtocol since they're all wired up in defaultTextAttributes already Changelog: [iOS] [Removed] Remove three properties: "textColor" "font" "textAlignment" from RCTBackedTextInputViewProtocol, unifying the usage into "defaultTextAttributes". Reviewed By: PeteTheHeat Differential Revision: D18954292 fbshipit-source-id: 17fd38a824d035843ae59b1b875dd9c48b3fcc9b
1 parent 586d55d commit aff6bad

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

Libraries/Text/TextInput/RCTBackedTextInputViewProtocol.h

-3
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,9 @@ NS_ASSUME_NONNULL_BEGIN
1414

1515
@protocol RCTBackedTextInputViewProtocol <UITextInput>
1616

17-
@property (nonatomic, strong, nullable) UIColor *textColor; // TODO: T57162853 Merge with `defaultTextAttributes`.
18-
@property (nonatomic, strong, nullable) UIFont *font; // TODO: T57162853 Merge with `defaultTextAttributes`.
1917
@property (nonatomic, copy, nullable) NSAttributedString *attributedText;
2018
@property (nonatomic, copy, nullable) NSString *placeholder;
2119
@property (nonatomic, strong, nullable) UIColor *placeholderColor;
22-
@property (nonatomic, assign) NSTextAlignment textAlignment; // TODO: T57162853 Merge with `defaultTextAttributes`.
2320
@property (nonatomic, assign, readonly) BOOL textWasPasted;
2421
@property (nonatomic, assign) UIEdgeInsets textContainerInset;
2522
@property (nonatomic, strong, nullable) UIView *inputAccessoryView;

0 commit comments

Comments
 (0)