diff --git a/README.md b/README.md index 7076161c134526741f622ba416fa01b10a37f1f9..05e0c88ae9238324555e9c2ecc8aa507d475278d 100644 --- a/README.md +++ b/README.md @@ -22,14 +22,13 @@ Needs react-native >= 0.14.2 ###Documentation ####Props -- style style of picker +- style style of picker, you can set width and height of picker in this prop - pickerBtnText string, tool bar's confirm btn text - pickerCancelBtnText string, tool bar's cancel ben text - pickerBtnStyle textStylePropType, tool bar's btn style - pickerToolBarStyle viewStylePropType, tool bar's style -- pickerWidth number, width of picker -- pickerHeight number, height of picker - showDuration number, animation of picker +- showMask boolean, default to be false, cancel the picker by tapping in the rest of the screen support when setted to be true - pickerTitle string, title of picker - pickerTitleStyle textStylePropType, style of title - pickerData array @@ -58,8 +57,11 @@ Needs react-native >= 0.14.2 import Picker from 'react-native-picker'