Commit 8fc02462 authored by xwenliang's avatar xwenliang

v4.0.2

parent 92a23c07
...@@ -8,26 +8,33 @@ ...@@ -8,26 +8,33 @@
###Documentation ###Documentation
####Props ####Params
- <b>pickerConfirmBtnText</b>(string), 确认按钮文字
- <b>pickerCancelBtnText</b>(string), 取消按钮文字 |Key | Description | Type | Default|
- <b>pickerTitleText</b>(string), 标题文字 | -- | ----------- | ---- | ------ |
- <b>pickerConfirmBtnColor</b>([1, 186, 245, 1]), 确认按钮字体颜色 |pickerConfirmBtnText | |string |确认 |
- <b>pickerCancelBtnColor</b>([1, 186, 245, 1]), 取消按钮字体颜色 |pickerCancelBtnText | |string |取消 |
- <b>pickerTitleColor</b>([20, 20, 20, 1]), 标题字体颜色 |pickerTitleText | |string |请选择 |
- <b>pickerToolBarBg</b>([232, 232, 232, 1]), 工具栏背景颜色 |pickerConfirmBtnColor | |array |[1, 186, 245, 1] |
- <b>pickerBg</b>([196, 199, 206, 1]), picker背景颜色 |pickerCancelBtnColor | |array |[1, 186, 245, 1] |
- <b>pickerData</b>(array), picker数据 |pickerTitleColor | |array |[20, 20, 20, 1]) |
- <b>selectedValue</b>(string),默认选中数据 |pickerToolBarBg | |array |[232, 232, 232, 1] |
- <b>onPickerConfirm</b>(function),确认按钮回调 |pickerBg | |array |[196, 199, 206, 1] |
- <b>onPickerCancel</b>(function),取消按钮回调 |pickerData | |array | |
- <b>onPickerSelect</b>(function),滚轮滚动时回调 |selectedValue | |string | |
|onPickerConfirm | |function| |
|onPickerCancel | |function| |
|onPickerSelect | |function| |
####Methods ####Methods
- <b>toggle</b> show or hide picker, default to be hiden
- <b>show</b> show picker |Name | Description | Type | Default|
- <b>hide</b> hide picker | --- | ----------- | ---- | ------ |
- <b>isPickerShow</b> get status of picker, return a boolean |toggle |show or hide picker | | |
|show |show picker | | |
|hide |hide picker | | |
|isPickerShow |get status of picker, return a boolean | | |
###Usage ###Usage
......
{ {
"name": "react-native-picker", "name": "react-native-picker",
"version": "4.0.1", "version": "4.0.2",
"description": "", "description": "",
"main": "index.js", "main": "index.js",
"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