diff options
author | yiminghe <yiminghe@gmail.com> | 2015-11-27 16:15:05 +0800 |
---|---|---|
committer | yiminghe <yiminghe@gmail.com> | 2015-11-27 16:15:05 +0800 |
commit | 8133e8cf3b37b2be764616493ade7c7a7678fce1 (patch) | |
tree | 4321352889ab62f18ff8703adac8756ddb506dc0 /README.md | |
parent | 7702bb67968104a64fa85ba7e893bf2393eeb3c5 (diff) | |
download | time-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.md | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -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 | ||