Skip to content

Commit ef4214a

Browse files
sherginfacebook-github-bot
authored andcommitted
Stub for clearButtonMode prop in RCTUITextView
Summary: Even if we don't support this prop yet, we have to expose this in RCTUITextView to conform the contract between ViewManager and ShadowView. Reviewed By: sahrens Differential Revision: D6842304 fbshipit-source-id: 7ea26974f595eba6a3c06df06ca01e46af2e63df
1 parent 619a8c9 commit ef4214a

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Libraries/Text/TextInput/Multiline/RCTUITextView.h

+4
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,10 @@ NS_ASSUME_NONNULL_BEGIN
3131

3232
@property (nonatomic, assign) CGFloat preferredMaxLayoutWidth;
3333

34+
// The `clearButtonMode` property actually is not supported yet;
35+
// it's declared here only to conform to the interface.
36+
@property (nonatomic, assign) UITextFieldViewMode clearButtonMode;
37+
3438
@end
3539

3640
NS_ASSUME_NONNULL_END

0 commit comments

Comments
 (0)