aboutsummaryrefslogtreecommitdiffhomepage
path: root/README.md
diff options
context:
space:
mode:
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