[react native] JS change to support placeholderTextColor on android

This commit is contained in:
Olivia Bishop 2015-06-25 05:11:35 -07:00
parent b09f3eaf26
commit 1373dab826
1 changed files with 2 additions and 0 deletions

View File

@ -50,6 +50,7 @@ var AndroidTextInputAttributes = {
multiline: true,
password: true,
placeholder: true,
placeholderTextColor: true,
text: true,
testID: true,
underlineColorAndroid: true,
@ -514,6 +515,7 @@ var TextInput = React.createClass({
onLayout={this.props.onLayout}
password={this.props.password || this.props.secureTextEntry}
placeholder={this.props.placeholder}
placeholderTextColor={this.props.placeholderTextColor}
text={this.state.bufferedValue}
underlineColorAndroid={this.props.underlineColorAndroid}
children={children}