Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

react-native-autocomplete-input

Package Overview
Dependencies
Maintainers
1
Versions
54
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-native-autocomplete-input - npm Package Compare versions

Comparing version 3.4.0 to 3.5.0

11

index.js

@@ -121,3 +121,10 @@ import React, { Component } from 'react';

const { dataSource } = this.state;
const { listStyle, renderItem, renderSeparator, keyboardShouldPersistTaps } = this.props;
const {
listStyle,
renderItem,
renderSeparator,
keyboardShouldPersistTaps,
onEndReached,
onEndReachedThreshold
} = this.props;

@@ -131,2 +138,4 @@ return (

renderSeparator={renderSeparator}
onEndReached={onEndReached}
onEndReachedThreshold={onEndReachedThreshold}
style={[styles.list, listStyle]}

@@ -133,0 +142,0 @@ />

2

package.json
{
"name": "react-native-autocomplete-input",
"version": "3.4.0",
"version": "3.5.0",
"description": "Pure javascript autocomplete input for react-native",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -36,5 +36,5 @@ # react-native-autocomplete-input

onChangeText={text => this.setState({ query: text })}
renderItem={data => (
<TouchableOpacity onPress={() => this.setState({ query: data })}>
<Text>{data}</Text>
renderItem={item => (
<TouchableOpacity onPress={() => this.setState({ query: item })}>
<Text>{item}</Text>
</TouchableOpacity>

@@ -41,0 +41,0 @@ )}

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc