mirror of
https://github.com/status-im/react-native.git
synced 2025-02-04 13:44:04 +00: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:
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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user