diff options
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 36 |
1 files changed, 19 insertions, 17 deletions
@@ -1,5 +1,4 @@ | |||
1 | TimePicker | 1 | # TimePicker |
2 | ========== | ||
3 | 2 | ||
4 | React TimePicker | 3 | React TimePicker |
5 | 4 | ||
@@ -25,21 +24,24 @@ API | |||
25 | 24 | ||
26 | ### TimePicker | 25 | ### TimePicker |
27 | 26 | ||
28 | | Name | Type | Default | Description | | 27 | | Name | Type | Default | Description | |
29 | |---------------|----------------------------|-----------------------------------------------|-----------------------------------------------| | 28 | |----------------|----------------------------|-----------------------------------------------|--------------------------------------------------------------------------------------------| |
30 | | prefixCls | String | | prefixCls of this component | | 29 | | prefixCls | String | | prefixCls of this component | |
31 | | locale | Object | import from 'rc-time-picker/lib/locale/en_US' | | | 30 | | locale | Object | import from 'rc-time-picker/lib/locale/en_US' | | |
32 | | disabled | Boolean | false | whether picker is disabled | | 31 | | disabled | Boolean | false | whether picker is disabled | |
33 | | open | Boolean | false | current open state of picker. controlled prop | | 32 | | open | Boolean | false | current open state of picker. controlled prop | |
34 | | value | GregorianCalendar | null | current value like input's value | | 33 | | defaultValue | GregorianCalendar | null | current value like input's value | |
35 | | placeholder | String | '' | time input's placeholder | | 34 | | placeholder | String | '' | time input's placeholder | |
36 | | formatter | GregorianCalendarFormatter | HH:mm:ss or HH:mm or mm:ss | | | 35 | | formatter | GregorianCalendarFormatter | HH:mm:ss or HH:mm or mm:ss | | |
37 | | hourOptions | Array<String> | hour options | | | 36 | | hourOptions | Array<String> | hour options | | |
38 | | minuteOptions | Array<String> | minute options | | | 37 | | minuteOptions | Array<String> | minute options | | |
39 | | secondOptions | Array<String> | second options | | | 38 | | secondOptions | Array<String> | second options | | |
40 | | onChange | Function | null | called when select a different value | | 39 | | onChange | Function | null | called when select a different value | |
41 | | onOpen | Function | null | called when open picker | | 40 | | onOpen | Function | null | called when open picker | |
42 | | onClose | Function | null | called when close picker | | 41 | | onClose | Function | null | called when close picker | |
42 | | inputClassName | String | '' | | | ||
43 | | placement | String | bottomLeft | one of ['left','right','top','bottom', 'topLeft', 'topRight', 'bottomLeft', 'bottomRight'] | | ||
44 | | transitionName | String | '' | | | ||
43 | 45 | ||
44 | License | 46 | License |
45 | ------- | 47 | ------- |