react-native-modal-selector
Advanced tools
Comparing version 2.0.4 to 2.0.5
@@ -178,2 +178,5 @@ 'use strict'; | ||
onChange = (item) => { | ||
if (!item || !item.key) { | ||
return; | ||
} | ||
this.props.onChange(item); | ||
@@ -180,0 +183,0 @@ this.setState({ selected: this.props.labelExtractor(item), changedItem: item }, () => { |
{ | ||
"name": "react-native-modal-selector", | ||
"version": "2.0.4", | ||
"version": "2.0.5", | ||
"description": "A cross-platform (iOS / Android), selector/picker component for React Native that is highly customizable and supports sections.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
43299
742