From 63105a5ec0b6637aeaa359c6f750f7156f392f32 Mon Sep 17 00:00:00 2001 From: afc163 Date: Wed, 8 Mar 2017 15:03:49 +0800 Subject: update README --- README.md | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) (limited to 'README.md') diff --git a/README.md b/README.md index d8a35b9..3c82d2a 100644 --- a/README.md +++ b/README.md @@ -50,7 +50,7 @@ API | Name | Type | Default | Description | |-------------------------|-----------------------------------|-----------------------------------------------|--------------------------------------------------------------------------------------------| -| prefixCls | String | | prefixCls of this component | +| prefixCls | String | 'rc-time-picker' | prefixCls of this component | | clearText | String | 'clear' | | | disabled | Boolean | false | whether picker is disabled | | clearText | String | clear | clear text | @@ -59,19 +59,19 @@ API | defaultOpenValue | moment | moment() | default open panel value, used to set utcOffset,locale if value/defaultValue absent | | value | moment | null | current value | | placeholder | String | '' | time input's placeholder | -| showHour | Boolean | whether show hour | | -| showMinute | Boolean | whether show minute | | -| showSecond | Boolean | whether show second | | -| format | String | | | -| disabledHours | Function | disabled hour options | | -| disabledMinutes | Function | disabled minute options | | -| disabledSeconds | Function | disabled second options | | -| use12Hours | Boolean | 12 hours display mode | | -| hideDisabledOptions | Boolean | whether hide disabled options | | -| onChange | Function | null | called when select a different value | -| addon | Function | nothing | called from timepicker panel to render some addon to its bottom, like an OK button. Receives panel instance as parameter, to be able to close it like `panel.close()`.| -| placement | String | bottomLeft | one of ['left','right','top','bottom', 'topLeft', 'topRight', 'bottomLeft', 'bottomRight'] | -| transitionName | String | '' | | +| showHour | Boolean | true | whether show hour | | +| showMinute | Boolean | true | whether show minute | | +| showSecond | Boolean | true | whether show second | | +| format | String | - | | | +| disabledHours | Function | - | disabled hour options | | +| disabledMinutes | Function | - | disabled minute options | | +| disabledSeconds | Function | - | disabled second options | | +| use12Hours | Boolean | false | 12 hours display mode | +| hideDisabledOptions | Boolean | false | whether hide disabled options | | +| onChange | Function | null | called when select a different value | +| addon | Function | - | called from timepicker panel to render some addon to its bottom, like an OK button. Receives panel instance as parameter, to be able to close it like `panel.close()`.| +| placement | String | bottomLeft | one of ['left','right','top','bottom', 'topLeft', 'topRight', 'bottomLeft', 'bottomRight'] | +| transitionName | String | '' | | | name | String | - | sets the name of the generated input | | onOpen | Function({ open }) | | when TimePicker panel is opened | | onClose | Function({ open }) | | when TimePicker panel is opened | -- cgit v1.2.3