🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

react-native-tags-input

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

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

Comparing version
1.0.5
to
1.0.6
+8
-5
index.js

@@ -121,2 +121,3 @@ import React from 'react';

keysForTag,
deleteElement,
deleteIconStyles,

@@ -160,6 +161,8 @@ customElement,

<TouchableHighlight onPress={() => this.deleteTag(count, tags, updateState) }>
<Image
source={require('./assets/close.png')}
style={StyleSheet.flatten([styles.deleteIcon, deleteIconStyles])}
/>
{deleteElement ? deleteElement : (
<Image
source={require('./assets/close.png')}
style={StyleSheet.flatten([styles.deleteIcon, deleteIconStyles])}
/>
)}
</TouchableHighlight>

@@ -261,2 +264,2 @@ </View>

export default Tags;
export default Tags;
{
"name": "react-native-tags-input",
"version": "1.0.5",
"version": "1.0.6",
"description": "Input component for React Native to add and remove tags.",

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

@@ -37,2 +37,3 @@ # react-native-tags-input

|disabledInputStyle| |styles| Styles for when the input is disabled|
|deleteElement| |element|If this is included, the delete icon will be replaced by the element provided. (Thanks to periabyte)|
|deleteIconStyles| |styles|Styles for the delete icon|

@@ -39,0 +40,0 @@ |customElement| |element|Element to be displayed between input and tags. For example suggestions. (Auto suggestions will be implemented in a future release)|