rmc-picker
Advanced tools
Comparing version 5.0.0-alpha.4 to 5.0.0-alpha.5
@@ -28,3 +28,3 @@ import _extends from 'babel-runtime/helpers/extends'; | ||
return React.Children.map(children, function (c) { | ||
var cc = React.Children.toArray(c.props.children); | ||
var cc = React.Children.toArray(c.children || c.props.children); | ||
return cc && cc[0] && cc[0].props.value; | ||
@@ -31,0 +31,0 @@ }); |
@@ -48,3 +48,3 @@ 'use strict'; | ||
return _react2['default'].Children.map(children, function (c) { | ||
var cc = _react2['default'].Children.toArray(c.props.children); | ||
var cc = _react2['default'].Children.toArray(c.children || c.props.children); | ||
return cc && cc[0] && cc[0].props.value; | ||
@@ -51,0 +51,0 @@ }); |
{ | ||
"name": "rmc-picker", | ||
"version": "5.0.0-alpha.4", | ||
"version": "5.0.0-alpha.5", | ||
"description": "React Mobile Picker Component(web and react-native)", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
126755