2.2.24 • Published 7 years ago
rc-time-picker-15-minutes v2.2.24
TimePicker
React TimePicker
example
http://react-component.github.io/time-picker/
install
npm install rc-time-picker-15-minutes
Usage
import TimePicker from 'rc-time-picker-15-minutes';
import ReactDOM from 'react-dom';
ReactDOM.render(<TimePicker />, container);
API
TimePicker
Name | Type | Default | Description |
---|---|---|---|
prefixCls | String | prefixCls of this component | |
clearText | String | 'clear' | |
disabled | Boolean | false | whether picker is disabled |
clearText | String | clear | clear text |
open | Boolean | false | current open state of picker. controlled prop |
defaultValue | moment | null | default initial value |
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 | |
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 | '' |
Test Case
npm test
npm run chrome-test
Coverage
npm run coverage
open coverage/ dir
License
rc-time-picker-15-minutes is released under the MIT license.
2.2.24
7 years ago
2.2.23
7 years ago
2.2.22
7 years ago
2.2.21
7 years ago
2.2.20
7 years ago
2.2.19
7 years ago
2.2.18
7 years ago
2.2.17
7 years ago
2.2.16
7 years ago
2.2.15
7 years ago
2.2.14
7 years ago
2.2.13
7 years ago
2.2.12
7 years ago
2.2.11
7 years ago
2.2.10
7 years ago
2.2.9
7 years ago
2.2.8
7 years ago
2.2.7
7 years ago
2.2.6
7 years ago
2.2.5
7 years ago
2.2.4
7 years ago
2.2.3
7 years ago
2.2.2
7 years ago
2.2.1
7 years ago