Commit 74bfba1a authored by xwenliang's avatar xwenliang

new version v4.1.0 support RN@0.47

parent 358ba9d3
...@@ -16,14 +16,15 @@ ...@@ -16,14 +16,15 @@
|pickerTitleText | |string |pls select | |pickerTitleText | |string |pls select |
|pickerConfirmBtnColor | |array |[1, 186, 245, 1] | |pickerConfirmBtnColor | |array |[1, 186, 245, 1] |
|pickerCancelBtnColor | |array |[1, 186, 245, 1] | |pickerCancelBtnColor | |array |[1, 186, 245, 1] |
|pickerTitleColor | |array |[20, 20, 20, 1]) | |pickerTitleColor | |array |[20, 20, 20, 1] |
|pickerToolBarBg | |array |[232, 232, 232, 1] | |pickerToolBarBg | |array |[232, 232, 232, 1] |
|pickerBg | |array |[196, 199, 206, 1] | |pickerBg | |array |[196, 199, 206, 1] |
|pickerToolBarFontSize | |number |16 | |pickerToolBarFontSize | |number |16 |
|wheelFlex | |array |[1, 1, 1] |
|pickerFontSize | |number |16 | |pickerFontSize | |number |16 |
|pickerFontColor | |array |[31, 31, 31, 1] | |pickerFontColor | |array |[31, 31, 31, 1] |
|pickerData | |array | | |pickerData | |array | |
|selectedValue | |string | | |selectedValue | |array | |
|onPickerConfirm | |function| | |onPickerConfirm | |function| |
|onPickerCancel | |function| | |onPickerCancel | |function| |
|onPickerSelect | |function| | |onPickerSelect | |function| |
......
...@@ -497,6 +497,7 @@ public class PickerViewModule extends ReactContextBaseJavaModule implements Life ...@@ -497,6 +497,7 @@ public class PickerViewModule extends ReactContextBaseJavaModule implements Life
@Override @Override
public void onHostDestroy() { public void onHostDestroy() {
hide();
dialog = null;
} }
} }
{ {
"name": "react-native-picker", "name": "react-native-picker",
"version": "4.0.19", "version": "4.1.0",
"description": "", "description": "A Native Picker with high performance.",
"main": "index.js", "main": "index.js",
"types": "index.d.ts", "types": "index.d.ts",
"scripts": { "scripts": {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment