rmc-picker
Advanced tools
Comparing version 3.7.0 to 3.7.1
@@ -20,5 +20,5 @@ 'use strict'; | ||
value[i] = v; | ||
this.props.onValueChange(value); | ||
this.props.onValueChange(value, i); | ||
} | ||
}; | ||
module.exports = exports['default']; |
@@ -12,2 +12,5 @@ export interface PickerCol { | ||
pure?: boolean; | ||
className?: string; | ||
pickerItemStyle?: any; | ||
rootNativeProps?: any; | ||
indicatorStyle?: any; | ||
@@ -14,0 +17,0 @@ onValueChange?: (v?: any) => void; |
@@ -55,3 +55,3 @@ 'use strict'; | ||
selectedValueState = defaultSelectedValue; | ||
} else if (children.length) { | ||
} else if (children && children.length) { | ||
selectedValueState = children[0].value; | ||
@@ -58,0 +58,0 @@ } |
{ | ||
"name": "rmc-picker", | ||
"version": "3.7.0", | ||
"version": "3.7.1", | ||
"description": "React Mobile Picker Component(web and react-native)", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
48133
1296