@@ -22,14 +22,13 @@ Needs react-native >= 0.14.2
2222###Documentation
2323
2424####Props
25- - <b >style</b > style of picker
25+ - <b >style</b > style of picker, you can set width and height of picker in this prop
2626- <b >pickerBtnText</b > string, tool bar's confirm btn text
2727- <b >pickerCancelBtnText</b > string, tool bar's cancel ben text
2828- <b >pickerBtnStyle</b > textStylePropType, tool bar's btn style
2929- <b >pickerToolBarStyle</b > viewStylePropType, tool bar's style
30- - <b >pickerWidth</b > number, width of picker
31- - <b >pickerHeight</b > number, height of picker
3230- <b >showDuration</b > number, animation of picker
31+ - <b >showMask</b > boolean, default to be false, cancel the picker by tapping in the rest of the screen support when setted to be true
3332- <b >pickerTitle</b > string, title of picker
3433- <b >pickerTitleStyle</b > textStylePropType, style of title
3534- <b >pickerData</b > array
@@ -58,8 +57,11 @@ Needs react-native >= 0.14.2
5857 import Picker from ' react-native-picker'
5958
6059 < Picker
61- pickerHeight= {300 }
60+ style= {{
61+ height: 300
62+ }},
6263 showDuration= {300 }
64+ showMask= {true }
6365 pickerData= {}// picker`s value List
6466 selectedValue= {}// default to be selected value
6567 onPickerDone= {}// when confirm your choice
0 commit comments