mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-04-27 19:25:11 +08:00
Refactor text input keyboards
Reviewed By: foghina Differential Revision: D2807491 fb-gh-sync-id: e7e5fb8c235f3637f619b2f44053749c51f379f0
This commit is contained in:
committed by
facebook-github-bot-7
parent
fe77ce1c62
commit
cc449b394e
@@ -489,11 +489,12 @@ var TextInput = React.createClass({
|
||||
};
|
||||
}
|
||||
|
||||
var autoCapitalize = UIManager.UIText.AutocapitalizationType[this.props.autoCapitalize];
|
||||
var textAlign =
|
||||
UIManager.AndroidTextInput.Constants.TextAlign[this.props.textAlign];
|
||||
var autoCapitalize =
|
||||
UIManager.AndroidTextInput.Constants.AutoCapitalizationType[this.props.autoCapitalize];
|
||||
var textAlign = UIManager.AndroidTextInput.Constants.TextAlign[this.props.textAlign];
|
||||
var textAlignVertical =
|
||||
UIManager.AndroidTextInput.Constants.TextAlignVertical[this.props.textAlignVertical];
|
||||
|
||||
var children = this.props.children;
|
||||
var childCount = 0;
|
||||
ReactChildren.forEach(children, () => ++childCount);
|
||||
|
||||
Reference in New Issue
Block a user