react-native-picker-select
Advanced tools
Comparing version 3.0.1 to 3.1.0
{ | ||
"name": "react-native-picker-select", | ||
"version": "3.0.1", | ||
"version": "3.1.0", | ||
"description": | ||
@@ -5,0 +5,0 @@ "A Picker component for React Native which emulates the native <select> interfaces for each platform", |
# react-native-picker-select | ||
[![npm version](https://badge.fury.io/js/react-native-picker-select.svg)](https://badge.fury.io/js/react-native-picker-select) | ||
[![npm downloads](https://img.shields.io/npm/dm/react-native-picker-select.svg?style=flat-square)](https://www.npmjs.com/package/react-native-picker-select) | ||
[![CircleCI](https://circleci.com/gh/lawnstarter/react-native-picker-select.svg?style=svg)](https://circleci.com/gh/lawnstarter/react-native-picker-select) | ||
@@ -16,2 +17,6 @@ | ||
[Examples](https://github.com/lawnstarter/react-native-picker-select/tree/master/example) | ||
[Run example.js](https://snack.expo.io/SJJaVK31X) | ||
## Getting Started | ||
@@ -57,4 +62,2 @@ | ||
[See Examples](https://github.com/lawnstarter/react-native-picker-select/tree/master/example) | ||
## Testing | ||
@@ -61,0 +64,0 @@ |
@@ -176,3 +176,5 @@ import React, { PureComponent } from 'react'; | ||
<View> | ||
<Text style={[styles.done, this.props.style.done]}>Done</Text> | ||
<Text style={[styles.done, this.props.style.done]}> | ||
{this.props.doneText} | ||
</Text> | ||
</View> | ||
@@ -199,3 +201,7 @@ </TouchableWithoutFeedback> | ||
<TextInput | ||
style={[this.props.style.inputIOS, this.renderPlaceholderStyle()]} | ||
style={[ | ||
!this.props.hideIcon ? { paddingRight: 30 } : {}, | ||
this.props.style.inputIOS, | ||
this.renderPlaceholderStyle(), | ||
]} | ||
value={this.state.selectedItem.label} | ||
@@ -315,2 +321,3 @@ ref={(ref) => { | ||
onDownArrow: PropTypes.func, | ||
doneText: PropTypes.string, | ||
}; | ||
@@ -333,2 +340,3 @@ | ||
onDownArrow: null, | ||
doneText: 'Done', | ||
}; | ||
@@ -335,0 +343,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
22394
377
72