Skip to content

Commit

Permalink
Added placeholderStyle to Picker.
Browse files Browse the repository at this point in the history
Associated with Issue #1413.
  • Loading branch information
akhil-ga committed Dec 1, 2017
1 parent d4ad6ee commit 56c36d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/basic/Picker.ios.js
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ class PickerNB extends Component {
? <Text style={this.props.textStyle} note={this.props.note}>
{this.state.currentLabel}
</Text>
: <Text style={this.props.textStyle} note={this.props.note === false ? false : true}>
: <Text style={[this.props.textStyle,this.props.placeholderStyle]} note={this.props.note === false ? false : true}>
{this.props.placeholder}
</Text>}
{this.props.iosIcon === undefined ? null : this.renderIcon()}
Expand Down

0 comments on commit 56c36d3

Please sign in to comment.