rmc-picker
Advanced tools
Comparing version 5.0.0-alpha.3 to 5.0.0-alpha.4
@@ -10,3 +10,2 @@ export interface IPickerCol { | ||
rootNativeProps?: any; | ||
indicatorStyle?: any; | ||
onValueChange?: (v?: any, i?: number) => void; | ||
@@ -13,0 +12,0 @@ children?: any; |
@@ -114,3 +114,8 @@ import _extends from 'babel-runtime/helpers/extends'; | ||
if (!children) { | ||
return getModal(props, this.state.visible, this.getContent); | ||
return getModal(props, this.state.visible, { | ||
getContent: this.getContent, | ||
onOk: this.onOk, | ||
hide: this.hide, | ||
onDismiss: this.onDismiss | ||
}); | ||
} | ||
@@ -117,0 +122,0 @@ var _props = this.props, |
@@ -10,3 +10,2 @@ export interface IPickerCol { | ||
rootNativeProps?: any; | ||
indicatorStyle?: any; | ||
onValueChange?: (v?: any, i?: number) => void; | ||
@@ -13,0 +12,0 @@ children?: any; |
@@ -145,3 +145,8 @@ 'use strict'; | ||
if (!children) { | ||
return getModal(props, this.state.visible, this.getContent); | ||
return getModal(props, this.state.visible, { | ||
getContent: this.getContent, | ||
onOk: this.onOk, | ||
hide: this.hide, | ||
onDismiss: this.onDismiss | ||
}); | ||
} | ||
@@ -148,0 +153,0 @@ var _props = this.props, |
{ | ||
"name": "rmc-picker", | ||
"version": "5.0.0-alpha.3", | ||
"version": "5.0.0-alpha.4", | ||
"description": "React Mobile Picker Component(web and react-native)", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
126727
3031