aboutsummaryrefslogtreecommitdiffhomepage
path: root/README.md
diff options
context:
space:
mode:
authoryiminghe <yiminghe@gmail.com>2015-11-27 16:15:05 +0800
committeryiminghe <yiminghe@gmail.com>2015-11-27 16:15:05 +0800
commit8133e8cf3b37b2be764616493ade7c7a7678fce1 (patch)
tree4321352889ab62f18ff8703adac8756ddb506dc0 /README.md
parent7702bb67968104a64fa85ba7e893bf2393eeb3c5 (diff)
downloadtime-picker-8133e8cf3b37b2be764616493ade7c7a7678fce1.tar.gz
time-picker-8133e8cf3b37b2be764616493ade7c7a7678fce1.tar.zst
time-picker-8133e8cf3b37b2be764616493ade7c7a7678fce1.zip
add gregorianCalendarLocale prop1.0.0-alpha1
Diffstat (limited to 'README.md')
-rw-r--r--README.md10
1 files changed, 5 insertions, 5 deletions
diff --git a/README.md b/README.md
index 1c16244..d2dcc3c 100644
--- a/README.md
+++ b/README.md
@@ -31,16 +31,16 @@ API
31| disabled | Boolean | false | whether picker is disabled | 31| disabled | Boolean | false | whether picker is disabled |
32| open | Boolean | false | current open state of picker. controlled prop | 32| open | Boolean | false | current open state of picker. controlled prop |
33| defaultValue | GregorianCalendar | null | default initial value | 33| defaultValue | GregorianCalendar | null | default initial value |
34| value | GregorianCalendar | null | current value | 34| value | GregorianCalendar | null | current value |
35| gregorianCalendarLocale | GregorianCalendar locale object | null | if value and defaultValue not set, you should set this to your locale |
35| placeholder | String | '' | time input's placeholder | 36| placeholder | String | '' | time input's placeholder |
36| formatter | GregorianCalendarFormatter | HH:mm:ss or HH:mm or mm:ss | | 37| showHour | Boolean | whether show hour | |
38| showSecond | Boolean | whether show second | |
39| formatter | String|GregorianCalendarFormatter | | |
37| hourOptions | Array<String> | hour options | | 40| hourOptions | Array<String> | hour options | |
38| minuteOptions | Array<String> | minute options | | 41| minuteOptions | Array<String> | minute options | |
39| secondOptions | Array<String> | second options | | 42| secondOptions | Array<String> | second options | |
40| onChange | Function | null | called when select a different value | 43| onChange | Function | null | called when select a different value |
41| onOpen | Function | null | called when open picker |
42| onClose | Function | null | called when close picker |
43| inputClassName | String | '' | |
44| placement | String | bottomLeft | one of ['left','right','top','bottom', 'topLeft', 'topRight', 'bottomLeft', 'bottomRight'] | 44| placement | String | bottomLeft | one of ['left','right','top','bottom', 'topLeft', 'topRight', 'bottomLeft', 'bottomRight'] |
45| transitionName | String | '' | | 45| transitionName | String | '' | |
46 46