mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-03-26 07:04:05 +08:00
Add support for textAlign on iOS multiline text input
Summary: Fixes https://github.com/facebook/react-native/issues/2641 Closes https://github.com/facebook/react-native/pull/5801 Reviewed By: svcscm Differential Revision: D2910644 Pulled By: nicklockwood fb-gh-sync-id: 8f97daac09fd2bd4120344e28c239262dd013f85
This commit is contained in:
committed by
facebook-github-bot-2
parent
e2873cf85f
commit
7b22606f49
@@ -28,6 +28,7 @@ RCT_EXPORT_VIEW_PROPERTY(autoCorrect, BOOL)
|
||||
RCT_EXPORT_VIEW_PROPERTY(blurOnSubmit, BOOL)
|
||||
RCT_EXPORT_VIEW_PROPERTY(clearTextOnFocus, BOOL)
|
||||
RCT_REMAP_VIEW_PROPERTY(color, textView.textColor, UIColor)
|
||||
RCT_REMAP_VIEW_PROPERTY(textAlign, textView.textAlignment, NSTextAlignment)
|
||||
RCT_REMAP_VIEW_PROPERTY(editable, textView.editable, BOOL)
|
||||
RCT_REMAP_VIEW_PROPERTY(enablesReturnKeyAutomatically, textView.enablesReturnKeyAutomatically, BOOL)
|
||||
RCT_REMAP_VIEW_PROPERTY(keyboardType, textView.keyboardType, UIKeyboardType)
|
||||
|
||||
Reference in New Issue
Block a user