react-native-autocomplete-input
Advanced tools
Comparing version 1.1.1 to 1.1.2
{ | ||
"name": "react-native-autocomplete-input", | ||
"version": "1.1.1", | ||
"version": "1.1.2", | ||
"description": "Pure javascript autocomplete input for react-native", | ||
@@ -64,13 +64,3 @@ "main": "index.js", | ||
"sinon": "^1.17.4" | ||
}, | ||
"babel": { | ||
"plugins": [ | ||
"transform-class-properties", | ||
"transform-es2015-arrow-functions", | ||
"transform-es2015-destructuring", | ||
"transform-es2015-modules-commonjs", | ||
"transform-object-rest-spread", | ||
"transform-react-jsx" | ||
] | ||
} | ||
} |
@@ -12,3 +12,3 @@ # react-native-autocomplete-input | ||
Fist things first install the component from npmjs.org: | ||
First things first install the component from npmjs.org: | ||
@@ -29,3 +29,3 @@ ```shell | ||
// ... | ||
render() { | ||
render() { | ||
const { query } = this.state; | ||
@@ -38,3 +38,3 @@ const data = this._filterData(query) | ||
renderItem={data => ( | ||
<TouchableOpacity onPress={() => | ||
<TouchableOpacity onPress={() => | ||
this.setState({query: data}) | ||
@@ -48,3 +48,3 @@ } | ||
} | ||
// ... | ||
// ... | ||
``` | ||
@@ -51,0 +51,0 @@ |
9503