From 5ef573a8a1281e74984131aaea6eee79e367e4d6 Mon Sep 17 00:00:00 2001 From: xwenliang Date: Sun, 21 Feb 2016 16:47:05 +0800 Subject: [PATCH] readme --- README.md | 10 ++++++---- package.json | 2 +- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 7076161..05e0c88 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'